Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feat: Docstring changes + moving limit to constants#3343

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Poolitzer merged 3 commits intoapi_6.3_updatefrom6.3_docstring
Nov 9, 2022

Conversation

Poolitzer
Copy link
Member

This adds the two docstring changes, I took the opportunity to move the changed limit to constants. At least description can be added to the limit (e.g. in#3336), maybe even more, so I kept the Class name broad.

@@ -901,3 +901,18 @@ class WebhookLimit(IntEnum):
""":obj:`int`: Minimum length of the secret token."""
MAX_SECRET_TOKEN_LENGTH = 256
""":obj:`int`: Maximum length of the secret token."""


class ChatLimits(IntEnum):
Copy link
Member

Choose a reason for hiding this comment

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

IIRC we named verything else in singular, i.e.class <…>Limit(enum)

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

You appear to be right

Also add it to the all variable
lemontree210 added a commit that referenced this pull requestNov 8, 2022
as suggested in review for PR#3336,but in singular (rather than `...Limits`)to conform with review for#3343
Copy link
Member

@Bibo-JoshiBibo-Joshi left a comment

Choose a reason for hiding this comment

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

LGTM, can be merged IMO

@PoolitzerPoolitzer merged commitd48499f intoapi_6.3_updateNov 9, 2022
@PoolitzerPoolitzer deleted the 6.3_docstring branchNovember 9, 2022 21:36
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsNov 17, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@Bibo-JoshiBibo-JoshiBibo-Joshi approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Poolitzer@Bibo-Joshi

[8]ページ先頭

©2009-2025 Movatter.jp