Commit 534a944
docs(BA-5982): correct ExecutionData docstring (not all 'hooks')
Calling the three fields "execution-time hooks" was misleading —
``startup_command`` is the container's main entry command (replacing
the image CMD) and ``bootstrap_script`` is a pre-launch init script;
only ``callback_url`` is an actual event-callback hook. The previous
"user-supplied vs resolver-produced" split rationale was also wrong:
``environ`` on ``ModelRuntimeConfigData`` is just as user-supplied,
merged from preset / request / deployment-config sources.
Rewrite the class docstring to describe the three fields by what they
actually do (container entry command, pre-startup setup script,
lifecycle event webhook), and add per-field comments explaining the
``None`` semantics. Keep the sibling-of-ModelRuntimeConfigData framing,
restated as a packaging convenience for downstream consumers rather
than a lifecycle distinction that does not really exist.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 7bd7e6a commit 534a944
1 file changed
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
890 | 890 | | |
891 | 891 | | |
892 | 892 | | |
893 | | - | |
894 | | - | |
895 | | - | |
896 | | - | |
897 | | - | |
898 | | - | |
899 | | - | |
900 | | - | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
901 | 901 | | |
902 | 902 | | |
| 903 | + | |
| 904 | + | |
903 | 905 | | |
| 906 | + | |
| 907 | + | |
904 | 908 | | |
| 909 | + | |
| 910 | + | |
905 | 911 | | |
906 | 912 | | |
907 | 913 | | |
| |||
0 commit comments