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 ca9c601 commit be91cbbCopy full SHA for be91cbb
ads/jobs/builders/infrastructure/dataflow.py
@@ -803,9 +803,9 @@ def with_defined_tag(self, **kwargs) -> "DataFlow":
803
return self.set_spec(self.CONST_DEFINED_TAGS, kwargs)
804
805
def __getattr__(self, item):
806
- if item == (self.CONST_DEFINED_TAGS or self.CONST_FREEFORM_TAGS):
+ if item == self.CONST_DEFINED_TAGS or item == self.CONST_FREEFORM_TAGS:
807
return self.get_spec(item)
808
- elif f"with_{item}" in self.__dir__() and item != ("defined_tag" or "freeform_tag"):
+ elif f"with_{item}" in self.__dir__() and item != "defined_tag" and item != "freeform_tag":
809
810
raise AttributeError(f"Attribute {item} not found.")
811
0 commit comments