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

feat: Improve typehints #379

Merged
merged 2 commits into from
May 31, 2024
Merged

feat: Improve typehints #379

merged 2 commits into from
May 31, 2024

Conversation

whiterabbit1983
Copy link
Contributor

@whiterabbit1983 whiterabbit1983 commented May 31, 2024

🚀 This description was created by Ellipsis for commit 41bdfb0

Summary:

Enhances type hints and refactors model instance construction in rewrap_in_class within sdks/python/julep/managers/utils.py.

Key points:

  • Updated rewrap_in_class to use ParamSpec for better type hinting.
  • Changed model instance construction from cls.construct to cls.model_construct in rewrap_in_class.

Generated with ❤️ by ellipsis.dev

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Reviewed everything up to 41bdfb0 in 1 minute and 34 seconds

More details
  • Looked at 46 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_L2dbOikhajs9Fgxq


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

sdks/python/julep/managers/utils.py Show resolved Hide resolved
@whiterabbit1983 whiterabbit1983 merged commit 0d29820 into dev May 31, 2024
9 checks passed
@whiterabbit1983 whiterabbit1983 deleted the x/sdk-type-hints branch May 31, 2024 14:56
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

Successfully merging this pull request may close these issues.

2 participants