garf-core 0.1.5__tar.gz → 0.1.5.post0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/PKG-INFO +1 -1
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core/__init__.py +1 -1
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core/api_clients.py +1 -1
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core.egg-info/PKG-INFO +1 -1
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/README.md +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core/base_query.py +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core/exceptions.py +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core/fetchers/__init__.py +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core/fetchers/fake.py +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core/fetchers/rest.py +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core/parsers.py +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core/query_editor.py +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core/report.py +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core/report_fetcher.py +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core.egg-info/SOURCES.txt +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core.egg-info/dependency_links.txt +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core.egg-info/entry_points.txt +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core.egg-info/requires.txt +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/garf_core.egg-info/top_level.txt +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/pyproject.toml +0 -0
- {garf_core-0.1.5 → garf_core-0.1.5.post0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: garf-core
|
3
|
-
Version: 0.1.5
|
3
|
+
Version: 0.1.5.post0
|
4
4
|
Summary: Abstracts fetching data from API based on provided SQL-like query.
|
5
5
|
Author-email: "Google Inc. (gTech gPS CSE team)" <no-reply@google.com>, Andrei Markin <andrey.markin.ppc@gmail.com>
|
6
6
|
License: Apache 2.0
|
@@ -69,7 +69,7 @@ class RestApiClient(BaseClient):
|
|
69
69
|
) -> GarfApiResponse:
|
70
70
|
response = requests.get(f'{self.endpoint}/{request.resource_name}')
|
71
71
|
if response.status_code == self.OK:
|
72
|
-
return GarfApiResponse(response.json())
|
72
|
+
return GarfApiResponse(results=response.json())
|
73
73
|
raise GarfApiError('Failed to get data from API')
|
74
74
|
|
75
75
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: garf-core
|
3
|
-
Version: 0.1.5
|
3
|
+
Version: 0.1.5.post0
|
4
4
|
Summary: Abstracts fetching data from API based on provided SQL-like query.
|
5
5
|
Author-email: "Google Inc. (gTech gPS CSE team)" <no-reply@google.com>, Andrei Markin <andrey.markin.ppc@gmail.com>
|
6
6
|
License: Apache 2.0
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|