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

Remove pydantic from config #1621

Merged

Conversation

kartik4949
Copy link
Collaborator

@kartik4949 kartik4949 commented Dec 29, 2023

Description

Fix #1609

Related Issues

Checklist

  • Is this code covered by new or existing unit tests or integration tests?
  • Did you run make unit-testing and make integration-testing successfully?
  • Do new classes, functions, methods and parameters all have docstrings?
  • Were existing docstrings updated, if necessary?
  • Was external documentation updated, if necessary?

Additional Notes or Comments

@kartik4949 kartik4949 self-assigned this Dec 29, 2023
@@ -14,6 +14,9 @@
__all__ = ('Logging',)


breakpoint()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not intended probably?

class BaseConfigJSONable(JSONable):
@dc.dataclass
class BaseConfigJSONable:
_lock: t.ClassVar[bool] = False
Copy link
Collaborator

Choose a reason for hiding this comment

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

What does this do?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is for locking the config after initialisation

@kartik4949 kartik4949 force-pushed the fix/remove_pydantic_from_config branch from cac4f3d to f330ef9 Compare December 30, 2023 13:46
@codecov-commenter
Copy link

codecov-commenter commented Dec 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (34830a7) 80.33% compared to head (f330ef9) 80.64%.
Report is 1340 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1621      +/-   ##
==========================================
+ Coverage   80.33%   80.64%   +0.30%     
==========================================
  Files          95      111      +16     
  Lines        6602     7899    +1297     
==========================================
+ Hits         5304     6370    +1066     
- Misses       1298     1529     +231     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@blythed blythed merged commit bdfa88f into superduper-io:main Dec 30, 2023
2 checks passed
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.

[MISC] Remove pydantic as dependency by refactoring configs.py
3 participants