Skip to content

Commit 5f81de0

Browse files
Release 1.8.44
1 parent e629a71 commit 5f81de0

5 files changed

Lines changed: 4 additions & 27 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "flagright"
33

44
[tool.poetry]
55
name = "flagright"
6-
version = "1.8.43"
6+
version = "1.8.44"
77
description = ""
88
readme = "README.md"
99
authors = []

src/flagright/batch/raw_client.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from ..core.request_options import RequestOptions
1212
from ..core.serialization import convert_and_respect_annotation_metadata
1313
from ..errors.bad_request_error import BadRequestError
14-
from ..errors.conflict_error import ConflictError
1514
from ..errors.not_found_error import NotFoundError
1615
from ..errors.too_many_requests_error import TooManyRequestsError
1716
from ..errors.unauthorized_error import UnauthorizedError
@@ -292,17 +291,6 @@ def create_transaction_events(
292291
),
293292
),
294293
)
295-
if _response.status_code == 409:
296-
raise ConflictError(
297-
headers=dict(_response.headers),
298-
body=typing.cast(
299-
ApiErrorResponse,
300-
parse_obj_as(
301-
type_=ApiErrorResponse, # type: ignore
302-
object_=_response.json(),
303-
),
304-
),
305-
)
306294
if _response.status_code == 429:
307295
raise TooManyRequestsError(
308296
headers=dict(_response.headers),
@@ -1388,17 +1376,6 @@ async def create_transaction_events(
13881376
),
13891377
),
13901378
)
1391-
if _response.status_code == 409:
1392-
raise ConflictError(
1393-
headers=dict(_response.headers),
1394-
body=typing.cast(
1395-
ApiErrorResponse,
1396-
parse_obj_as(
1397-
type_=ApiErrorResponse, # type: ignore
1398-
object_=_response.json(),
1399-
),
1400-
),
1401-
)
14021379
if _response.status_code == 429:
14031380
raise TooManyRequestsError(
14041381
headers=dict(_response.headers),

src/flagright/core/client_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ def __init__(
2222

2323
def get_headers(self) -> typing.Dict[str, str]:
2424
headers: typing.Dict[str, str] = {
25-
"User-Agent": "flagright/1.8.43",
25+
"User-Agent": "flagright/1.8.44",
2626
"X-Fern-Language": "Python",
2727
"X-Fern-SDK-Name": "flagright",
28-
"X-Fern-SDK-Version": "1.8.43",
28+
"X-Fern-SDK-Version": "1.8.44",
2929
**(self.get_custom_headers() or {}),
3030
}
3131
headers["x-api-key"] = self.api_key

src/flagright/types/cra_risk_level_updated_details.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
class CraRiskLevelUpdatedDetails(UniversalBaseModel):
1212
risk_level: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="riskLevel")] = None
13-
risk_score: typing_extensions.Annotated[typing.Optional[float], FieldMetadata(alias="riskScore")] = None
1413
user_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="userId")] = None
1514

1615
if IS_PYDANTIC_V2:

src/flagright/types/currency_code.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@
163163
"GAL",
164164
"GALA",
165165
"GBP",
166+
"GBPA",
166167
"GEL",
167168
"GFI",
168169
"GGP",

0 commit comments

Comments
 (0)