Skip to content

Commit

Permalink
Release 1.6.10
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jul 9, 2024
1 parent 61c01b7 commit 3e0d0df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "flagright"
version = "1.6.9"
version = "1.6.10"
description = ""
readme = "README.md"
authors = []
Expand Down
2 changes: 1 addition & 1 deletion src/flagright/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "flagright",
"X-Fern-SDK-Version": "1.6.9",
"X-Fern-SDK-Version": "1.6.10",
}
headers["x-api-key"] = self.api_key
return headers
Expand Down
3 changes: 2 additions & 1 deletion src/flagright/types/pep_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import typing

from ..core.datetime_utils import serialize_datetime
from .country_code import CountryCode

try:
import pydantic.v1 as pydantic # type: ignore
Expand All @@ -13,7 +14,7 @@

class PepStatus(pydantic.BaseModel):
is_pep_hit: bool = pydantic.Field(alias="isPepHit")
pep_country: typing.Optional[str] = pydantic.Field(alias="pepCountry")
pep_country: typing.Optional[CountryCode] = pydantic.Field(alias="pepCountry")

def json(self, **kwargs: typing.Any) -> str:
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
Expand Down

0 comments on commit 3e0d0df

Please sign in to comment.