Skip to content

Commit

Permalink
adding delim class
Browse files Browse the repository at this point in the history
  • Loading branch information
zavoraad committed Feb 6, 2024
1 parent 1204d2d commit 1f9a145
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion databricksx12/edi.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@


#
# TODO make this an enum
# https://www.ibm.com/docs/en/sgfmw/5.3.1?topic=gs-edi-delimiters
# https://github.com/databrickslabs/dbignite/blob/main/dbignite/readers.py#L1-L9
#
class AnsiX12Delim():

def __init__():
pass



class EDI():

#
# @drew what internal fields are needed to represent an EDI?
#
def __init__(self, raw_data):
def __init__(self, raw_data, delim = AnsiX12Delim()):
self.raw_data
self.delim = delim
#self.??? = ???
#self.??? = ???

Expand Down

0 comments on commit 1f9a145

Please sign in to comment.