Hyukjin Kwon
Hyukjin Kwon
Other notebooks like Jupyter IIRC support the automcompletion by doing `dir(...)` under the hood so that might be one example that we can follow.
Does it use multiprocessing from gunicorn? Py4J is thread-safe but doesn't work well with multiprocessing.
If this is from multiprocessing, it would not be fixed because Py4J does not support multiprocessing by design.
Would be great if there's a reproducer without gunicorn to investigate this further. My guts say gurnicorn uses a separate process when you use Py4J.
Thanks for reporting this. Are you interested in making a PR?
Sorry for the delay. Now the tests are fixed per https://github.com/py4j/py4j/pull/519. Would you mind rebasing this one please?
Sorry for the delay. Now the tests are fixed per https://github.com/py4j/py4j/pull/519. Would you mind rebasing this one please?
@rxin and @jkbradley, can I open a PR for describing it? Roughly like: - For method, class definitions, class constructor invocations, - If they fit within 2 line, put everything...
@jkbradley, this is fixed in https://github.com/databricks/scala-style-guide/pull/64 :-)
For me I think this is reasonable because I sometimes see some users have some difficulties to find out why it was dropped or malformed.