File tree Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 22
33__author__ = """Enver Bisevac"""
44__email__ = "enver.bisevac@harness.io"
5- __version__ = '1.1.5 '
5+ __version__ = '1.1.6 '
Original file line number Diff line number Diff line change @@ -160,7 +160,9 @@ def _send_data(self) -> None:
160160 target_attributes : List [KeyValue ] = []
161161 if not isinstance (unique_target .attributes , Unset ):
162162 for key , value in unique_target .attributes .items ():
163- target_attributes .append (KeyValue (key , value ))
163+ # Attribute values need to be sent as string to
164+ # ff-server so convert all values to strings.
165+ target_attributes .append (KeyValue (key , str (value )))
164166 td = TargetData (
165167 identifier = unique_target .identifier ,
166168 name = unique_target .name ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class Target():
1616 identifier : str
1717 name : Union [Unset , str ] = UNSET
1818 anonymous : Union [Unset , bool ] = UNSET
19- attributes : Union [Unset , Dict [str , Any ]] = UNSET
19+ attributes : Union [Unset , Dict [str , str ]] = UNSET
2020
2121 def to_dict (self ) -> Dict [str , Any ]:
2222 identifier = self .identifier
Original file line number Diff line number Diff line change 11[bumpversion]
2- current_version = 1.1.5
2+ current_version = 1.1.6
33commit = True
44tag = True
55
Original file line number Diff line number Diff line change 5656 test_suite = "tests" ,
5757 tests_require = test_requirements ,
5858 url = "https://github.com/harness/ff-python-server-sdk" ,
59- version = '1.1.5 ' ,
59+ version = '1.1.6 ' ,
6060 zip_safe = False ,
6161)
You can’t perform that action at this time.
0 commit comments