-
Notifications
You must be signed in to change notification settings - Fork 34
Using bulk insert without command / Click #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @AubinMoreau, That is a good question that I had not previously considered! The default arguments are set as Click options, then the actual parameters for As such, you currently cannot call However, you will still encounter issues if avoiding Click entirely, because we use Click's progress bars to wrap CSV processing: The bulk loader wasn't written to expose the function |
Thanks for your quick reply @jeffreylovitz ! I will continue to use click if there's no other way, i just didn't wanted to do it without exploring other options (if i get satified by the first solution i found, i won't progress). Have a nice day ! |
I'm curious if there has been any additional thought on using this utility from a python interperter context, vs calling as a command line option? more specifically, without using Or, if another approach for bulk loading has emerged since then? Either way, it remains a great utility! |
Hi, sorry to bother you with a question which is probably a simple one but is that possible (and if it is, how ?) to launch the code without using click or command and without giving every arguments ?
I just want to do this :
bulk_insert(graph, host, port, nodes, relations)
Without putting all parameters like this :
bulk_insert(graph, host, port, password, nodes, relations, separator, max_token_count, max_buffer_size, max_token_size, quote, field_types, skip_invalid_nodes, skip_invalid_edges)
But for now, the only way i found is (as you do on your test) by using Click :
Thanks for your help.
The text was updated successfully, but these errors were encountered: