Refactored sdp serializers

This commit is contained in:
2019-10-21 16:13:56 +02:00
parent 3f423454c8
commit 8f1c2ed818
13 changed files with 1353 additions and 13 deletions
+24
View File
@@ -0,0 +1,24 @@
import sys
from core.utils import sysarg_to_string
from core.sheerka import Sheerka
from sdp.sheerkaDataProvider import Event
def main():
sheerka = Sheerka()
sheerka.initialize()
# first, record the event
event_as_string = sysarg_to_string(sys.argv[1:])
evt_digest = sheerka.record_event(Event(event_as_string))
# launch the parsers
# execute the concepts
return True
if __name__ == '__main__':
res = main()
exit(0 if res else 1)