Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Commit e1ea942

Browse files
Updated Gaffer version to 2.1.0 (#37)
* Updated Gaffer version to 2.1.0 * Update binaryoperators.py * Update config.py * Update functions.py * Update operations.py * Update predicates.py --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GCHQDeveloper314 <[email protected]>
1 parent a94ccae commit e1ea942

File tree

10 files changed

+25
-26
lines changed

10 files changed

+25
-26
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'GCHQ'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '2.0.0'
25+
release = '2.1.0'
2626

2727

2828
# -- General configuration ---------------------------------------------------

src/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.0.0"
1+
__version__ = "2.1.0"
22

33
__title__ = "gafferpy"
44
__description__ = "Gaffer Python Shell"

src/fishbowl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.0.0"
1+
__version__ = "2.1.0"
22

33
__title__ = "fishbowl"
44
__description__ = "Gaffer Python Shell"

src/gafferpy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.0.0"
1+
__version__ = "2.1.0"
22

33
__title__ = "gafferpy"
44
__description__ = "Gaffer Python Shell"

src/gafferpy/generated_api/binaryoperators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2023 Crown Copyright
2+
# Copyright 2022-2024 Crown Copyright
33
#
44
# Licensed under the Apache License, Version 2.0 (the 'License');
55
# you may not use this file except in compliance with the License.

src/gafferpy/generated_api/config.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2023 Crown Copyright
2+
# Copyright 2022-2024 Crown Copyright
33
#
44
# Licensed under the Apache License, Version 2.0 (the 'License');
55
# you may not use this file except in compliance with the License.
@@ -27,6 +27,11 @@ def __init__(self):
2727
super().__init__("/graph/jobs")
2828

2929

30+
class GetVersion(GetGraph):
31+
def __init__(self):
32+
super().__init__("/graph/version")
33+
34+
3035
class GetStatus(GetGraph):
3136
def __init__(self):
3237
super().__init__("/graph/status")
@@ -62,6 +67,11 @@ def __init__(self):
6267
super().__init__("/graph/operations/details/all")
6368

6469

70+
class GetOperationsAll(GetGraph):
71+
def __init__(self):
72+
super().__init__("/graph/operations/all")
73+
74+
6575
class GetJobs(GetGraph):
6676
def __init__(self, id=""):
6777
super().__init__(f"/graph/jobs/{id}")
@@ -77,6 +87,11 @@ def __init__(self):
7787
super().__init__("/graph/config/transformFunctions")
7888

7989

90+
class GetStoreType(GetGraph):
91+
def __init__(self):
92+
super().__init__("/graph/config/storeType")
93+
94+
8095
class GetStoreTraits(GetGraph):
8196
def __init__(self):
8297
super().__init__("/graph/config/storeTraits")

src/gafferpy/generated_api/functions.py

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2023 Crown Copyright
2+
# Copyright 2022-2024 Crown Copyright
33
#
44
# Licensed under the Apache License, Version 2.0 (the 'License');
55
# you may not use this file except in compliance with the License.
@@ -606,7 +606,6 @@ class HyperLogLogPlusEntityGenerator(AbstractFunction):
606606
def __init__(
607607
self,
608608
properties_to_copy: typing.Optional[typing.List[str]] = None,
609-
to_sketch_function: typing.Optional[typing.Any] = None,
610609
count_property: typing.Optional[str] = None,
611610
cardinality_property_name: typing.Optional[str] = None,
612611
edge_group_property: typing.Optional[str] = None,
@@ -615,7 +614,6 @@ def __init__(
615614
):
616615
super().__init__(_class_name=self.CLASS)
617616
self.properties_to_copy = properties_to_copy
618-
self.to_sketch_function = to_sketch_function
619617
self.count_property = count_property
620618
self.cardinality_property_name = cardinality_property_name
621619
self.edge_group_property = edge_group_property
@@ -626,8 +624,6 @@ def to_json(self):
626624
function_json = super().to_json()
627625
if self.properties_to_copy is not None:
628626
function_json["propertiesToCopy"] = self.properties_to_copy
629-
if self.to_sketch_function is not None:
630-
function_json["toSketchFunction"] = self.to_sketch_function
631627
if self.count_property is not None:
632628
function_json["countProperty"] = self.count_property
633629
if self.cardinality_property_name is not None:
@@ -689,7 +685,6 @@ class HllSketchEntityGenerator(AbstractFunction):
689685
def __init__(
690686
self,
691687
properties_to_copy: typing.Optional[typing.List[str]] = None,
692-
to_sketch_function: typing.Optional[typing.Any] = None,
693688
count_property: typing.Optional[str] = None,
694689
cardinality_property_name: typing.Optional[str] = None,
695690
edge_group_property: typing.Optional[str] = None,
@@ -698,7 +693,6 @@ def __init__(
698693
):
699694
super().__init__(_class_name=self.CLASS)
700695
self.properties_to_copy = properties_to_copy
701-
self.to_sketch_function = to_sketch_function
702696
self.count_property = count_property
703697
self.cardinality_property_name = cardinality_property_name
704698
self.edge_group_property = edge_group_property
@@ -709,8 +703,6 @@ def to_json(self):
709703
function_json = super().to_json()
710704
if self.properties_to_copy is not None:
711705
function_json["propertiesToCopy"] = self.properties_to_copy
712-
if self.to_sketch_function is not None:
713-
function_json["toSketchFunction"] = self.to_sketch_function
714706
if self.count_property is not None:
715707
function_json["countProperty"] = self.count_property
716708
if self.cardinality_property_name is not None:
@@ -730,18 +722,14 @@ class IterableToHllSketch(AbstractFunction):
730722
def __init__(
731723
self,
732724
log_k: typing.Optional[int] = None,
733-
hll_sketch: typing.Optional[typing.Any] = None,
734725
):
735726
super().__init__(_class_name=self.CLASS)
736727
self.log_k = log_k
737-
self.hll_sketch = hll_sketch
738728

739729
def to_json(self):
740730
function_json = super().to_json()
741731
if self.log_k is not None:
742732
function_json["logK"] = self.log_k
743-
if self.hll_sketch is not None:
744-
function_json["hllSketch"] = self.hll_sketch
745733
return function_json
746734

747735

@@ -751,18 +739,14 @@ class ToHllSketch(AbstractFunction):
751739
def __init__(
752740
self,
753741
log_k: typing.Optional[int] = None,
754-
hll_sketch: typing.Optional[typing.Any] = None,
755742
):
756743
super().__init__(_class_name=self.CLASS)
757744
self.log_k = log_k
758-
self.hll_sketch = hll_sketch
759745

760746
def to_json(self):
761747
function_json = super().to_json()
762748
if self.log_k is not None:
763749
function_json["logK"] = self.log_k
764-
if self.hll_sketch is not None:
765-
function_json["hllSketch"] = self.hll_sketch
766750
return function_json
767751

768752

src/gafferpy/generated_api/operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2023 Crown Copyright
2+
# Copyright 2022-2024 Crown Copyright
33
#
44
# Licensed under the Apache License, Version 2.0 (the 'License');
55
# you may not use this file except in compliance with the License.

src/gafferpy/generated_api/predicates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2023 Crown Copyright
2+
# Copyright 2022-2024 Crown Copyright
33
#
44
# Licensed under the Apache License, Version 2.0 (the 'License');
55
# you may not use this file except in compliance with the License.

src/gafferpy_examples/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.0.0"
1+
__version__ = "2.1.0"
22

33
__title__ = "gafferpy_examples"
44
__description__ = "Gaffer Python Shell"

0 commit comments

Comments
 (0)