Skip to content

Commit

Permalink
Fix function named argument in python.md (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
kp-cat authored Dec 13, 2023
1 parent 2bf2f8c commit 79b20b5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions website/docs/sdk-reference/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,7 @@ The SDK can load your feature flag & setting overrides from a file.
#### File

```python
client = configcatclient.get(
sdk_key='#YOUR-SDK-KEY#',
client = configcatclient.get('#YOUR-SDK-KEY#',
ConfigCatOptions(
flag_overrides=LocalFileFlagOverrides(
file_path='path/to/the/local_flags.json', # path to the file
Expand Down Expand Up @@ -690,8 +689,7 @@ dictionary = {
'stringSetting': 'test'
}

client = configcatclient.get(
sdk_key='#YOUR-SDK-KEY#',
client = configcatclient.get('#YOUR-SDK-KEY#',
ConfigCatOptions(
flag_overrides=LocalDictionaryFlagOverrides(source=dictionary, override_behaviour=OverrideBehaviour.LocalOnly)
)
Expand Down

0 comments on commit 79b20b5

Please sign in to comment.