Skip to content

path within wire_schema(...) does not appear to be used? #114

@CodeByDrescher

Description

@CodeByDrescher

Within type_system.py::2021 :

def wire_schema(self, schema, wires, path=None):
      outcome = {}
      path = path or []

      if isinstance(wires, dict):
          for key, subwires in wires.items():
              outcome[key] = self.wire_schema(
                  schema,
                  wires[key],
                  path + [key])

      else:
          _, outcome = self.slice('schema', schema, wires)

      return outcome

Path is built upon, but does not appear to be used. This also appears to be the top level binding of wire_schema(...)

Is there some other side effect that's picking up on this elsewhere? It's unclear

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions