(
webhook_config: Optional["WebhookConfiguration"],
)
| 125 | |
| 126 | |
| 127 | def 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 | |
| 138 | def map_feature_state_to_engine( |
no test coverage detected
searching dependent graphs…