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: Adiciona owner a AmoralModel #209

Merged
merged 1 commit into from
Oct 20, 2022
Merged

feat: Adiciona owner a AmoralModel #209

merged 1 commit into from
Oct 20, 2022

Conversation

thulio
Copy link
Collaborator

@thulio thulio commented Oct 4, 2022

No description provided.

@thulio thulio self-assigned this Oct 4, 2022
@thulio thulio added the enhancement New feature or request label Oct 4, 2022
@@ -204,6 +206,13 @@ def model_file_path(cls) -> Path:
def unique_name(cls) -> str:
return str(cls.__table__)

@classmethod
def owner(cls) -> str:
if model_owner := cls.__model_config__.owner:
Copy link
Contributor

Choose a reason for hiding this comment

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

Primeira vez que vejo := num PR

@diogommartins
Copy link
Contributor

Boa! Esse é o caminho 🚀

diogommartins
diogommartins previously approved these changes Oct 19, 2022
@thulio thulio marked this pull request as ready for review October 20, 2022 12:50
lemosflavio
lemosflavio previously approved these changes Oct 20, 2022
@thulio thulio merged commit 45dd83b into main Oct 20, 2022
@thulio thulio deleted the feat/model-owner branch October 20, 2022 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants