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

Function map_webhook_config_to_engine

api/util/mappers/engine.py:127–135  ·  view source on GitHub ↗
(
    webhook_config: Optional["WebhookConfiguration"],
)

Source from the content-addressed store, hash-verified

125
126
127def map_webhook_config_to_engine(
128 webhook_config: Optional["WebhookConfiguration"],
129) -> Optional[WebhookModel]:
130 if not webhook_config:
131 return None
132 return WebhookModel(
133 url=webhook_config.url,
134 secret=webhook_config.secret,
135 )
136
137
138def map_feature_state_to_engine(

Callers 1

Calls 1

WebhookModelClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…