Skip to content

Commit

Permalink
chore: address misspelling
Browse files Browse the repository at this point in the history
  • Loading branch information
yquansah committed Nov 22, 2023
1 parent 0bcc900 commit 4ad2866
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flipt-client-python/flipt_client_python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ def __init__(self, namespace: str = "default", engine_opts: EngineOpts = {}):
ns = (ctypes.c_char_p * len(namespace_list))()
ns[:] = [s.encode("utf-8") for s in namespace_list]

engine_opts_seriliazed = engine_opts.model_dump_json().encode("utf-8")
engine_opts_serialized = engine_opts.model_dump_json().encode("utf-8")

self.engine = self.ffi_core.initialize_engine(ns, engine_opts_seriliazed)
self.engine = self.ffi_core.initialize_engine(ns, engine_opts_serialized)

def __del__(self):
if hasattr(self, "engine") and self.engine is not None:
Expand Down

0 comments on commit 4ad2866

Please sign in to comment.