garf-core 0.1.5__py3-none-any.whl → 0.1.5.post0__py3-none-any.whl
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/__init__.py +1 -1
- garf_core/api_clients.py +1 -1
- {garf_core-0.1.5.dist-info → garf_core-0.1.5.post0.dist-info}/METADATA +1 -1
- {garf_core-0.1.5.dist-info → garf_core-0.1.5.post0.dist-info}/RECORD +7 -7
- {garf_core-0.1.5.dist-info → garf_core-0.1.5.post0.dist-info}/WHEEL +0 -0
- {garf_core-0.1.5.dist-info → garf_core-0.1.5.post0.dist-info}/entry_points.txt +0 -0
- {garf_core-0.1.5.dist-info → garf_core-0.1.5.post0.dist-info}/top_level.txt +0 -0
garf_core/__init__.py
CHANGED
garf_core/api_clients.py
CHANGED
@@ -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
|
@@ -1,5 +1,5 @@
|
|
1
|
-
garf_core/__init__.py,sha256=
|
2
|
-
garf_core/api_clients.py,sha256=
|
1
|
+
garf_core/__init__.py,sha256=ZKDzKwZl1HtqUnBH6ijUMZgu6dRZJsbgMGuL8s9gzNU,960
|
2
|
+
garf_core/api_clients.py,sha256=P9fSy0xUXqmQoupWGWP1-SVBz_yZ80Jh58fvkh2dY8s,4694
|
3
3
|
garf_core/base_query.py,sha256=ZDAw2ojmismXRO0HXEvKDukpS7OAc7390LnM8kvCSCY,1201
|
4
4
|
garf_core/exceptions.py,sha256=Gzvkl2M-rA_XQRAMd3CC62KHeFQE_b6uby0fD0pouw4,1269
|
5
5
|
garf_core/parsers.py,sha256=A4Yb614ydN_psKvyUfWZjnTG5-aooT0pz2Cm6CHUnC4,3283
|
@@ -9,8 +9,8 @@ garf_core/report_fetcher.py,sha256=dgErrkRv1bdPN0npX3atZbJrOpzy9OmoPC38e2FpBSQ,4
|
|
9
9
|
garf_core/fetchers/__init__.py,sha256=_cSjg1D5RhUKxaVeVbaDdb8AAoI9glKJXgN5H4qXFkw,783
|
10
10
|
garf_core/fetchers/fake.py,sha256=fgJjxuHyd6EIUflUtj8r_HfaMS1YTDrOqDlaj6Kvbjs,2584
|
11
11
|
garf_core/fetchers/rest.py,sha256=-5B2-Ck_t3hG99ym59AKwlzctiDxRFI2Nnc8STBxRDo,2201
|
12
|
-
garf_core-0.1.5.dist-info/METADATA,sha256
|
13
|
-
garf_core-0.1.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
14
|
-
garf_core-0.1.5.dist-info/entry_points.txt,sha256=u4h-ujHO1hbxVXRQzwcC4ftju9_KBYtq5mCLKEBHMj0,69
|
15
|
-
garf_core-0.1.5.dist-info/top_level.txt,sha256=Gj-Zp7fM2turGut5vTJuo5xEcKfow7cTLX3y3WFfNgA,10
|
16
|
-
garf_core-0.1.5.dist-info/RECORD,,
|
12
|
+
garf_core-0.1.5.post0.dist-info/METADATA,sha256=-YyPa7wDx_3dzKaWEPlEupNyg2QtKblNLvem6pWhew0,2433
|
13
|
+
garf_core-0.1.5.post0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
14
|
+
garf_core-0.1.5.post0.dist-info/entry_points.txt,sha256=u4h-ujHO1hbxVXRQzwcC4ftju9_KBYtq5mCLKEBHMj0,69
|
15
|
+
garf_core-0.1.5.post0.dist-info/top_level.txt,sha256=Gj-Zp7fM2turGut5vTJuo5xEcKfow7cTLX3y3WFfNgA,10
|
16
|
+
garf_core-0.1.5.post0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|