File tree Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1- 0.6.0
1+ 0.6.1
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ attrs >= 23.1.0
44frozenlist >= 1.4.1
55idna >= 3.6
66multidict >= 6.0.4
7- openfga-sdk >= 0.6.0
7+ openfga-sdk >= 0.6.1
88python-dateutil >= 2.8.2
99urllib3 >= 2.1.0
1010yarl >= 1.9.4
Original file line number Diff line number Diff line change @@ -311,9 +311,10 @@ async def __call_api(
311311 )
312312
313313 try :
314- _telemetry_attributes [TelemetryAttributes ().request_client_id ] = (
315- self .configuration .credentials .configuration .client_id
316- )
314+ if self .configuration .credentials .configuration .client_id is not None :
315+ _telemetry_attributes [TelemetryAttributes ().request_client_id ] = (
316+ self .configuration .credentials .configuration .client_id
317+ )
317318 except AttributeError :
318319 pass
319320
Original file line number Diff line number Diff line change @@ -308,9 +308,10 @@ def __call_api(
308308 )
309309
310310 try :
311- _telemetry_attributes [TelemetryAttributes ().request_client_id ] = (
312- self .configuration .credentials .configuration .client_id
313- )
311+ if self .configuration .credentials .configuration .client_id is not None :
312+ _telemetry_attributes [TelemetryAttributes ().request_client_id ] = (
313+ self .configuration .credentials .configuration .client_id
314+ )
314315 except AttributeError :
315316 pass
316317
You can’t perform that action at this time.
0 commit comments