Setting up core to use gui or cli assets folder, not vica-versa
This commit is contained in:
parent
b7cba470d3
commit
9358106d74
1 changed files with 2 additions and 2 deletions
|
|
@ -35,9 +35,9 @@ def sync_one_orm_model(
|
||||||
new_data = api_result.data
|
new_data = api_result.data
|
||||||
|
|
||||||
# prep data (denormalize)
|
# prep data (denormalize)
|
||||||
parent_directory = get_parent_directory()
|
# parent_directory = get_parent_directory()
|
||||||
yaml_filename = f"{which_endpoint}.yaml"
|
yaml_filename = f"{which_endpoint}.yaml"
|
||||||
full_yaml_path = f"{parent_directory}/assets/yaml_mappings/{yaml_filename}"
|
full_yaml_path = f"assets/yaml_mappings/{yaml_filename}"
|
||||||
|
|
||||||
denormalized_data = denormalize(new_data, str(full_yaml_path))
|
denormalized_data = denormalize(new_data, str(full_yaml_path))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue