Skip to content

Commit

Permalink
Release 1.4.11
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Mar 13, 2024
1 parent 33b6ce8 commit 017b5c9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.4.10"
version = "1.4.11"
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.4.10",
"X-Fern-SDK-Version": "1.4.11",
}
headers["x-api-key"] = self.api_key
return headers
Expand Down
4 changes: 4 additions & 0 deletions src/flagright/types/kyc_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class KycStatus(str, enum.Enum):
NEW = "NEW"
CANCELLED = "CANCELLED"
MANUAL_REVIEW = "MANUAL_REVIEW"
EDD_IN_PROGRESS = "EDD_IN_PROGRESS"

def visit(
self,
Expand All @@ -26,6 +27,7 @@ def visit(
new: typing.Callable[[], T_Result],
cancelled: typing.Callable[[], T_Result],
manual_review: typing.Callable[[], T_Result],
edd_in_progress: typing.Callable[[], T_Result],
) -> T_Result:
if self is KycStatus.SUCCESSFUL:
return successful()
Expand All @@ -43,3 +45,5 @@ def visit(
return cancelled()
if self is KycStatus.MANUAL_REVIEW:
return manual_review()
if self is KycStatus.EDD_IN_PROGRESS:
return edd_in_progress()

0 comments on commit 017b5c9

Please sign in to comment.