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

Respect custom fields style #38

Merged
merged 2 commits into from
Apr 22, 2024
Merged

Respect custom fields style #38

merged 2 commits into from
Apr 22, 2024

Conversation

Olegt0rr
Copy link
Owner

Custom field names should be repected

Example:

class HelpIssue(FullIssue, kw_only=True):
    user_id: int | None = field(default=None, name="userId")
    user_username: str | None = field(default=None, name="user_username")
    bot_username: str | None = field(default=None, name="bot_username")
    user_name: str | None = field(default=None, name="user_name")

@Olegt0rr Olegt0rr merged commit 1eccaa9 into master Apr 22, 2024
3 checks passed
@Olegt0rr Olegt0rr deleted the respect-custom-fields branch April 22, 2024 19:41
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