Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Generator Based Property Accessors #77

Open
dixonwhitmire opened this issue Oct 27, 2021 · 0 comments
Open

Implement Generator Based Property Accessors #77

dixonwhitmire opened this issue Oct 27, 2021 · 0 comments

Comments

@dixonwhitmire
Copy link
Member

dixonwhitmire commented Oct 27, 2021

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.

@dixonwhitmire dixonwhitmire changed the title Implement New Property Accessors Implement Generator Based Property Accessors Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant