Skip to content

Commit 85fcf15

Browse files
committed
Release v1.7.12
1 parent 565846a commit 85fcf15

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

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 = "v1.7.11"
6+
version = "v1.7.12"
77
description = ""
88
readme = "README.md"
99
authors = []

src/flagright/core/client_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ def __init__(self, *, api_key: str, base_url: str, timeout: typing.Optional[floa
1414

1515
def get_headers(self) -> typing.Dict[str, str]:
1616
headers: typing.Dict[str, str] = {
17-
"User-Agent": "flagright/v1.7.11",
17+
"User-Agent": "flagright/v1.7.12",
1818
"X-Fern-Language": "Python",
1919
"X-Fern-SDK-Name": "flagright",
20-
"X-Fern-SDK-Version": "v1.7.11",
20+
"X-Fern-SDK-Version": "v1.7.12",
2121
}
2222
headers["x-api-key"] = self.api_key
2323
return headers

src/flagright/types/custom_column.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22

33
from ..core.pydantic_utilities import UniversalBaseModel
44
from .column_type import ColumnType
5-
from ..core.pydantic_utilities import IS_PYDANTIC_V2
5+
import typing_extensions
66
import typing
7+
from ..core.serialization import FieldMetadata
8+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
79
import pydantic
810

911

1012
class CustomColumn(UniversalBaseModel):
1113
key: str
1214
type: ColumnType
15+
primary_key: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="primaryKey")] = None
1316

1417
if IS_PYDANTIC_V2:
1518
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2

0 commit comments

Comments
 (0)