Skip to content

Commit 66545e0

Browse files
committed
Release 1.6.8
1 parent 7b39fc6 commit 66545e0

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

poetry.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "flagright"
3-
version = "1.6.7"
3+
version = "1.6.8"
44
description = ""
55
readme = "README.md"
66
authors = []

src/flagright/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1414
headers: typing.Dict[str, str] = {
1515
"X-Fern-Language": "Python",
1616
"X-Fern-SDK-Name": "flagright",
17-
"X-Fern-SDK-Version": "1.6.7",
17+
"X-Fern-SDK-Version": "1.6.8",
1818
}
1919
headers["x-api-key"] = self.api_key
2020
return headers

src/flagright/types/list_subtype.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class ListSubtype(str, enum.Enum):
1717
BANK_SWIFT_CODE = "BANK_SWIFT_CODE"
1818
UPI_IDENTIFYING_NUMBER = "UPI_IDENTIFYING_NUMBER"
1919
IP_ADDRESS = "IP_ADDRESS"
20+
DEVICE_IDENTIFIER = "DEVICE_IDENTIFIER"
2021
STRING = "STRING"
2122

2223
def visit(
@@ -31,6 +32,7 @@ def visit(
3132
bank_swift_code: typing.Callable[[], T_Result],
3233
upi_identifying_number: typing.Callable[[], T_Result],
3334
ip_address: typing.Callable[[], T_Result],
35+
device_identifier: typing.Callable[[], T_Result],
3436
string: typing.Callable[[], T_Result],
3537
) -> T_Result:
3638
if self is ListSubtype.USER_ID:
@@ -53,5 +55,7 @@ def visit(
5355
return upi_identifying_number()
5456
if self is ListSubtype.IP_ADDRESS:
5557
return ip_address()
58+
if self is ListSubtype.DEVICE_IDENTIFIER:
59+
return device_identifier()
5660
if self is ListSubtype.STRING:
5761
return string()

0 commit comments

Comments
 (0)