From 79b20b56270910e8e9e7756bcc7f2b7f5d1a268c Mon Sep 17 00:00:00 2001 From: Peter Adam Korodi <52385411+kp-cat@users.noreply.github.com> Date: Wed, 13 Dec 2023 14:00:04 +0100 Subject: [PATCH] Fix function named argument in python.md (#342) --- website/docs/sdk-reference/python.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/website/docs/sdk-reference/python.md b/website/docs/sdk-reference/python.md index 1f1e3918..705fb7d4 100644 --- a/website/docs/sdk-reference/python.md +++ b/website/docs/sdk-reference/python.md @@ -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 @@ -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) )