File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
providers/openfeature-provider-flagd/src/openfeature/contrib/provider/flagd Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -115,10 +115,13 @@ def __init__( # noqa: PLR0913
115115 )
116116
117117 self .fatal_status_codes : list [str ] = (
118- env_or_default (
119- ENV_VAR_FATAL_STATUS_CODES ,
120- [],
121- cast = lambda s : [item .strip () for item in s .split ("," )],
118+ typing .cast (
119+ list [str ],
120+ env_or_default (
121+ ENV_VAR_FATAL_STATUS_CODES ,
122+ [],
123+ cast = lambda s : [item .strip () for item in s .split ("," )],
124+ ),
122125 )
123126 if fatal_status_codes is None
124127 else fatal_status_codes
@@ -175,7 +178,7 @@ def __init__( # noqa: PLR0913
175178 else port
176179 )
177180
178- self .port : int = (
181+ self .port = (
179182 int (env_or_default (ENV_VAR_SYNC_PORT , self .port , cast = int ))
180183 if sync_port is None and port is None
181184 else sync_port
You can’t perform that action at this time.
0 commit comments