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 616f3ea commit 2496914Copy full SHA for 2496914
src/sempy_labs/tom/_model.py
@@ -5089,9 +5089,7 @@ def _import_linguistic_schema(self, file_path: str):
5089
f"{icons.red_dot} The culture of the schema_file is not a valid culture within the semantic model."
5090
)
5091
5092
- for c in self.model.Cultures:
5093
- if c.Name == culture_name:
5094
- c.LinguisticMetadata.Content = json.dumps(schema_file, indent=4)
+ self.model.Cultures[culture_name].LinguisticMetadata.Content = json.dumps(schema_file, indent=4)
5095
5096
def close(self):
5097
0 commit comments