- Notifications
You must be signed in to change notification settings - Fork674
chore: create new ArrayAttribute class#1866
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
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -65,10 +65,7 @@ class IssueManager(RetrieveMixin, RESTManager): | ||
| "updated_after", | ||
| "updated_before", | ||
| ) | ||
| _types = {"iids": types.ArrayAttribute, "labels": types.CommaSeparatedListAttribute} | ||
| def get(self, id: Union[str, int], lazy: bool = False, **kwargs: Any) -> Issue: | ||
| return cast(Issue, super().get(id=id, lazy=lazy, **kwargs)) | ||
| @@ -98,10 +95,7 @@ class GroupIssueManager(ListMixin, RESTManager): | ||
| "updated_after", | ||
| "updated_before", | ||
| ) | ||
| _types = {"iids": types.ArrayAttribute, "labels": types.CommaSeparatedListAttribute} | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. lol, this is infuriating: 😁 thanks for going through all the endpoints. I hope the API docs are accurate. | ||
| class ProjectIssue( | ||
| @@ -239,10 +233,7 @@ class ProjectIssueManager(CRUDMixin, RESTManager): | ||
| "discussion_locked", | ||
| ), | ||
| ) | ||
| _types = {"iids": types.ArrayAttribute, "labels": types.CommaSeparatedListAttribute} | ||
| def get( | ||
| self, id: Union[str, int], lazy: bool = False, **kwargs: Any | ||