| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -46,7 +46,7 @@ def __init__( | |||
| 46 | 46 | ||
| 47 | 47 | self.mgr_cls._path = self.mgr_cls._path.format(**self.parent_args) | |
| 48 | 48 | self.mgr = self.mgr_cls(gl) | |
| 49 | - | ||
| 49 | + self.mgr._from_parent_attrs = self.parent_args | ||
| 50 | 50 | if self.mgr_cls._types: | |
| 51 | 51 | for attr_name, type_cls in self.mgr_cls._types.items(): | |
| 52 | 52 | if attr_name in self.args.keys(): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -666,7 +666,7 @@ def list(self, **kwargs: Any) -> Union[RESTObjectList, List[RESTObject]]: | |||
| 666 | 666 | if self._parent: | |
| 667 | 667 | path = f"/users/{self._parent.id}/projects" | |
| 668 | 668 | else: | |
| 669 | - path = f"/users/{kwargs['user_id']}/projects" | ||
| 669 | + path = f"/users/{self._from_parent_attrs['user_id']}/projects" | ||
| 670 | 670 | return ListMixin.list(self, path=path, **kwargs) | |
| 671 | 671 | ||
| 672 | 672 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments