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 cd95808 commit ce15d4bCopy full SHA for ce15d4b
sdk/ml/azure-ai-ml/azure/ai/ml/_schema/core/fields.py
@@ -138,8 +138,8 @@ class LocalPathField(fields.Str):
138
def __init__(self, allow_dir=True, allow_file=True, **kwargs):
139
self._allow_dir = allow_dir
140
self._allow_file = allow_file
141
- self._pattern = kwargs.get("pattern", None)
142
- super().__init__()
+ self._pattern = kwargs.pop("pattern", None)
+ super().__init__(**kwargs)
143
144
def _jsonschema_type_mapping(self):
145
schema = {"type": "string", "arm_type": LOCAL_PATH}
0 commit comments