File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
providers/openfeature-provider-flagd
src/openfeature/contrib/provider/flagd Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,6 @@ packages = ["src/openfeature"]
9090[tool .coverage .run ]
9191omit = [
9292 # exclude generated files
93- " src/openfeature/contrib/provider/flagd/proto /*" ,
93+ " src/openfeature/schemas /*" ,
9494 " tests/**" ,
9595]
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments