Skip to content

Commit 9a107c5

Browse files
committed
Merge branch 'feat/autogenerate_proto_files' into feat/events-for-rpc
Signed-off-by: Simon Schrottner <[email protected]>
2 parents 55e9dac + 4b74a53 commit 9a107c5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

providers/openfeature-provider-flagd/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@ packages = ["src/openfeature"]
9090
[tool.coverage.run]
9191
omit = [
9292
# exclude generated files
93-
"src/openfeature/contrib/provider/flagd/proto/*",
93+
"src/openfeature/schemas/*",
9494
"tests/**",
9595
]

providers/openfeature-provider-flagd/src/openfeature/contrib/provider/flagd/config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,13 @@ def __init__( # noqa: PLR0913
5959
keep_alive_time: typing.Optional[int] = None,
6060
):
6161
self.host = env_or_default(ENV_VAR_HOST, DEFAULT_HOST) if host is None else host
62+
6263
self.tls = (
6364
env_or_default(ENV_VAR_TLS, DEFAULT_TLS, cast=str_to_bool)
6465
if tls is None
6566
else tls
6667
)
68+
6769
self.retry_backoff_ms: int = (
6870
int(
6971
env_or_default(
@@ -85,11 +87,13 @@ def __init__( # noqa: PLR0913
8587
if self.resolver_type is ResolverType.RPC
8688
else DEFAULT_PORT_IN_PROCESS
8789
)
90+
8891
self.port: int = (
8992
int(env_or_default(ENV_VAR_PORT, default_port, cast=int))
9093
if port is None
9194
else port
9295
)
96+
9397
self.offline_flag_source_path = (
9498
env_or_default(
9599
ENV_VAR_OFFLINE_FLAG_SOURCE_PATH, DEFAULT_OFFLINE_SOURCE_PATH

0 commit comments

Comments
 (0)