Skip to content

Commit

Permalink
Release 1.6.21
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Sep 2, 2024
1 parent 0dcedf9 commit 2b3b661
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 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.20"
version = "1.6.21"
description = ""
readme = "README.md"
authors = []
Expand Down
4 changes: 2 additions & 2 deletions src/flagright/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(
self,
*,
base_url: typing.Optional[str] = None,
environment: FlagrightEnvironment = FlagrightEnvironment.DEFAULT,
environment: FlagrightEnvironment = FlagrightEnvironment.SANDBOX_API_SERVER_EU_1,
api_key: str,
timeout: typing.Optional[float] = 60,
httpx_client: typing.Optional[httpx.Client] = None
Expand All @@ -42,7 +42,7 @@ def __init__(
self,
*,
base_url: typing.Optional[str] = None,
environment: FlagrightEnvironment = FlagrightEnvironment.DEFAULT,
environment: FlagrightEnvironment = FlagrightEnvironment.SANDBOX_API_SERVER_EU_1,
api_key: str,
timeout: typing.Optional[float] = 60,
httpx_client: typing.Optional[httpx.AsyncClient] = None
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.20",
"X-Fern-SDK-Version": "1.6.21",
}
headers["x-api-key"] = self.api_key
return headers
Expand Down
3 changes: 2 additions & 1 deletion src/flagright/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@


class FlagrightEnvironment(enum.Enum):
DEFAULT = "https://sandbox.api.flagright.com"
SANDBOX_API_SERVER_EU_1 = "https://sandbox.api.flagright.com"
SANDBOX_API_SERVER_ASIA_1 = "https://sandbox-asia-1.api.flagright.com"

0 comments on commit 2b3b661

Please sign in to comment.