You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 fromleptonai.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
The text was updated successfully, but these errors were encountered: