Skip to content
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

Update Import Path for WorkspaceInfoLocalRecord in Documentation and Codebase #99

Open
leoshi01 opened this issue Nov 13, 2024 · 0 comments
Assignees

Comments

@leoshi01
Copy link

When using from leptonai.api.workspace import WorkspaceInfoLocalRecord to import the WorkspaceInfoLocalRecord class, VSCode and other IDEs fail to recognize and auto-complete the class methods and properties. After investigation, I found that updating the import path to from leptonai.api.v0.workspace import WorkspaceInfoLocalRecord resolves the issue.

Steps to Reproduce
Use from leptonai.api.workspace import WorkspaceInfoLocalRecord in a file.
Try to auto-complete methods under WorkspaceInfoLocalRecord in VSCode.
Expected Behavior
The correct import path should be from leptonai.api.v0.workspace import WorkspaceInfoLocalRecord, allowing the IDE to resolve and auto-complete methods and attributes accurately.

https://github.com/leptonai/search_with_lepton/blob/main/search_with_lepton.py#L21C1-L21C60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants