We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80d4250 commit 8055ebeCopy full SHA for 8055ebe
1 file changed
src/dstack/_internal/core/models/common.py
@@ -30,7 +30,9 @@ class CoreConfig:
30
# for permissive parsing of the server responses.
31
#
32
# We define a func to generate CoreModel dynamically that can be used
33
-# to define custom config for both __request__ and __response__ models.
+# to define custom Config for both __request__ and __response__ models.
34
+# Note: Defining config in the model class directly overrides
35
+# pydantic-duality's base config, breaking __response__.
36
def generate_dual_core_model(
37
custom_config: Union[type, Mapping],
38
) -> "type[CoreModel]":
0 commit comments