From bb1ea8f1c30d5102249adb2e0c846094103d8d0d6d751e89e3f6cb00406c6cef Mon Sep 17 00:00:00 2001 From: PioApocalypse Date: Fri, 8 May 2026 11:20:10 +0200 Subject: [PATCH] proposed: schemas are placed in src/schema (module) separating schemas from main.py might be a good idea since the parser will support more fabrication methods, but since every method has its dictionary is it even possible? --- src/main.py | 1 + src/schema/__init__.py | 0 src/schema/pld_deposition.py | 3 +++ 3 files changed, 4 insertions(+) create mode 100644 src/schema/__init__.py create mode 100644 src/schema/pld_deposition.py diff --git a/src/main.py b/src/main.py index 27aadb7..769f615 100755 --- a/src/main.py +++ b/src/main.py @@ -5,6 +5,7 @@ from getpass import getpass from APIHandler import APIHandler from classes import * from PIL import Image +# from schema import pld_deposition def call_entrypoint_from_elabid(elabid): diff --git a/src/schema/__init__.py b/src/schema/__init__.py new file mode 100644 index 0000000..473a0f4 diff --git a/src/schema/pld_deposition.py b/src/schema/pld_deposition.py new file mode 100644 index 0000000..f05c8bb --- /dev/null +++ b/src/schema/pld_deposition.py @@ -0,0 +1,3 @@ +class Prova: + def __init__(self): + self.hello = "Hello world"