Skip to content

Commit

Permalink
About to reimplement the create method
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Nov 14, 2023
1 parent 8371e09 commit 9ca78b1
Show file tree
Hide file tree
Showing 3 changed files with 277 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ def traverse(schema_dictionary, schema_path, schema_paths):

schema_path_joined = "/".join(schema_path)

if "patternProperties" in schema_dictionary.keys():
set_trace

if "properties" in schema_dictionary.keys():
original_dictionary = schema_dictionary
schema_dictionary = schema_dictionary["properties"]
Expand Down Expand Up @@ -381,7 +384,7 @@ def write_schema_paths_functions(
attributes.append(" **kwargs")

schema_paths_functions_file.write("\n".join(attributes))
schema_paths_functions_file.write("\n)\n")
schema_paths_functions_file.write("\n):\n")

schema_paths_functions_file.write(" pass\n")

Expand All @@ -395,8 +398,6 @@ def write_schema_paths_functions(

def create_configuration_objects(configuration_dictionary, schema_paths):

set_trace()

def traverse(dictionary, path, schema_paths):

print(path)
Expand All @@ -409,11 +410,8 @@ def traverse(dictionary, path, schema_paths):

schema_path = "/".join(path)

if "processors" in path:
set_trace()

if schema_path in path_function.keys():
set_trace
set_trace()

traverse(
dictionary_value,
Expand Down
Loading

0 comments on commit 9ca78b1

Please sign in to comment.