databricks-industry-solutions / x12-edi-parser

Used for reading & writing X12 messages
Other
5 stars 0 forks source link

Loops should not understand concepts of a "claim" #2

Closed zavoraad closed 2 months ago

zavoraad commented 2 months ago

https://github.com/databricks-industry-solutions/x12-edi-parser/blob/45a09fa35da47b0446a2d065a1c6d424dc98abe8/databricksx12/hls/build-func.py#L45-L46

This logic should be reserved for claim building functionality, i.e. a factory method

zavoraad commented 2 months ago

Old code