Skip to content

Commit 29b6f88

Browse files
author
Inbal Tako
committed
Code cleanups
1 parent 8e3b07b commit 29b6f88

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ securenative = SecureNative.init_with_api_key("YOUR_API_KEY")
6262
from securenative.securenative import SecureNative
6363

6464

65-
securenative = SecureNative.init_with_options(SecureNative.config_builder().with_api_key("API_KEY").with_max_events(10).with_log_level("ERROR"))
65+
securenative = SecureNative.init_with_options(SecureNative.config_builder().with_api_key("API_KEY").with_max_events(10).with_log_level("ERROR").build())
6666
```
6767

6868
## Getting SecureNative instance

securenative/config/configuration_builder.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ def with_fail_over_strategy(self, fail_over_strategy):
5959
self.fail_over_strategy = fail_over_strategy
6060
return self
6161

62+
def build(self):
63+
return self
64+
6265
@staticmethod
6366
def get_default_securenative_options():
6467
return SecureNativeOptions()

0 commit comments

Comments
 (0)