garf-core 0.0.4__tar.gz → 0.0.5__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.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: garf-core
3
- Version: 0.0.4
3
+ Version: 0.0.5
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>
6
6
  License: Apache 2.0
@@ -0,0 +1,15 @@
1
+ # Copyright 2025 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ __version__ = '0.0.5'
@@ -176,9 +176,9 @@ class GarfReport:
176
176
  if value_column_output == 'list':
177
177
  output[key].append(value)
178
178
  else:
179
- if key in output:
179
+ if output.get(key) and output.get(key) != value:
180
180
  raise GarfReportError(
181
- f'Non unique values found for key_column: {key}'
181
+ f'Non unique values found for key_column: {key_column}'
182
182
  )
183
183
  output[key] = value
184
184
  return output
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: garf-core
3
- Version: 0.0.4
3
+ Version: 0.0.5
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>
6
6
  License: Apache 2.0
@@ -4,7 +4,6 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "garf-core"
7
- version = "0.0.4"
8
7
  dependencies = [
9
8
  "python-dateutil",
10
9
  "jinja2==3.1.4",
@@ -29,6 +28,10 @@ classifiers = [
29
28
  "Operating System :: OS Independent",
30
29
  "License :: OSI Approved :: Apache Software License",
31
30
  ]
31
+ dynamic=["version"]
32
+
33
+ [tool.setuptools.dynamic]
34
+ version = {attr = "garf_core.__version__"}
32
35
 
33
36
  [project.optional-dependencies]
34
37
  pandas=[
File without changes
File without changes
File without changes