- Notifications
You must be signed in to change notification settings - Fork673
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I noticed the "hack" defget(self,id:Union[str,int],lazy:bool=False,**kwargs:Any )->ProjectMergeRequestDiscussion:returncast(ProjectMergeRequestDiscussion,super().get(id=id,lazy=lazy,**kwargs) ) Are you planning to extend it? e.g., it might also be worth to do deflist(self,**kwargs:Any )->Union[List[ProjectMergeRequestDiscussion],Iterator[ProjectMergeRequestDiscussion]]:returncast(ProjectMergeRequestDiscussion,super().list(**kwargs) ) Are those "thin/zero abstractions"? |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 0 comments
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment