🐛 fix(service.py): remove unused parameter 'filter_by_user' from download method to improve code readability and maintainability
This commit is contained in:
parent
d1c4af8c7d
commit
732fd4767f
1 changed files with 1 additions and 3 deletions
|
|
@ -138,9 +138,7 @@ class StoreService(Service):
|
|||
results = self._get(self.components_url, api_key, params)
|
||||
return [ListComponentResponse(**component) for component in results]
|
||||
|
||||
def download(
|
||||
self, api_key: str, component_id: str, filter_by_user: bool
|
||||
) -> DownloadComponentResponse:
|
||||
def download(self, api_key: str, component_id: str) -> DownloadComponentResponse:
|
||||
url = f"{self.components_url}/{component_id}"
|
||||
params = {
|
||||
"fields": ",".join(["id", "name", "description", "data", "is_component"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue