Skip to content

Commit 0f8f710

Browse files
authored
overwrite .amlignore file (#32546)
1 parent 1701522 commit 0f8f710

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sdk/ml/azure-ai-ml/azure/ai/ml/operations/_feature_set_operations.py

+4
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ def begin_create_or_update(self, featureset: FeatureSet, **kwargs: Dict) -> LROP
159159
featureset_copy.properties["featuresetProperties"] = json.dumps(featureset_spec._to_dict())
160160

161161
sas_uri = None
162+
163+
with open(os.path.join(featureset_copy.path, ".amlignore"), mode="w", encoding="utf-8") as f:
164+
f.write(".*")
165+
162166
featureset_copy, _ = _check_and_upload_path(
163167
artifact=featureset_copy, asset_operations=self, sas_uri=sas_uri, artifact_type=ErrorTarget.FEATURE_SET
164168
)

0 commit comments

Comments
 (0)