Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Below is an example of auto completion using Jedi in Python.

import jedi

source = """
def foo(bar: str):
    print(bar.lo)
""".strip()
script = jedi.Script(source, 2, len("    print(bar.lo"))
print(script.completions())
[<Completion: lower>]