Skip to content

Implement Generator Based Property Accessors #77

Description

@dixonwhitmire

Implement property accessors on x12 transactional models to simplify record streaming and iteration by unwinding the arbitrarily complex ASC X12 Hierarchical Levels. The properties will alleviate the complexity of fetching segments and fields with nested "for" loops

It may be preferable to unwind the hierarchy and return something like

[
 {"info_source": data,
   "info_receiver": data,
    "subscriber": data,
    "dependents": data 
  },
 {"info_source": data,
   "info_receiver": data,
    "subscriber": data,
    "dependents": data 
  },
  etc
]

The properties should utilize generator/yield semantics to support large data sets. Ideally the implementation should be general enough that it can be shared or plugged into each transaction set.

Activity

  1. changed the title [-]Implement New Property Accessors[/-] [+]Implement Generator Based Property Accessors[/+] on Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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