We don't have any explicit dependency on pylance:
But we will import it here:
|
NATIVE_IMPLS: Dict[str, str] = { |
|
"rest": "lance.namespace.RestNamespace", |
|
"dir": "lance.namespace.DirectoryNamespace", |
|
} |
|
impl_class = NATIVE_IMPLS.get(impl) or _REGISTERED_IMPLS.get(impl) or impl |
|
try: |
|
module_name, class_name = impl_class.rsplit(".", 1) |
|
module = importlib.import_module(module_name) |
For now, we should list pylance as a dependency.
But separately, I think we should consider if we can make pylance not a required dependency. That's a pretty heavy dependency to add, given it has the full datafusion query engine embedded.
lancedb/lancedb#3053
We don't have any explicit dependency on pylance:
But we will import it here:
lance-namespace/python/lance_namespace/lance_namespace/__init__.py
Lines 1021 to 1024 in be04429
lance-namespace/python/lance_namespace/lance_namespace/__init__.py
Lines 1094 to 1097 in be04429
For now, we should list
pylanceas a dependency.But separately, I think we should consider if we can make pylance not a required dependency. That's a pretty heavy dependency to add, given it has the full datafusion query engine embedded.
lancedb/lancedb#3053