MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / initialise_provider

Function initialise_provider

api/integrations/flagsmith/client.py:43–49  ·  view source on GitHub ↗
(
    domain: str = DEFAULT_OPENFEATURE_DOMAIN,
    **kwargs: typing.Any,
)

Source from the content-addressed store, hash-verified

41
42
43def initialise_provider(
44 domain: str = DEFAULT_OPENFEATURE_DOMAIN,
45 **kwargs: typing.Any,
46) -> None:
47 flagsmith_client = Flagsmith(**kwargs)
48 provider = FlagsmithProvider(client=flagsmith_client)
49 openfeature_api.set_provider(provider, domain=domain)
50
51
52def get_provider_kwargs() -> dict[str, typing.Any]:

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…