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

refactor(model): remove create classmethod, set key with Field default factory #5

Merged
merged 4 commits into from
Nov 28, 2023

Conversation

RobertRosca
Copy link
Member

PR simplifies the creation of new clients by removing the creation classmethod and setting the key via a default factory function. Also uses FastAPI dependencies a bit more often.

Internal refactoring, no external API changes.

@RobertRosca RobertRosca merged commit f05a3d2 into main Nov 28, 2023
4 checks passed
@RobertRosca RobertRosca deleted the refactor/simplify-model-create branch November 28, 2023 16:23
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.

1 participant