init
This commit is contained in:
commit
184de8576f
2
src/__init__.py
Normal file
2
src/__init__.py
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
print("INIT")
|
4
src/__main__.py
Normal file
4
src/__main__.py
Normal file
@ -0,0 +1,4 @@
|
||||
from .test_queueing_model import doSmth
|
||||
|
||||
print("MAIN")
|
||||
doSmth() # Funktionsimport
|
3
src/databases.py
Normal file
3
src/databases.py
Normal file
@ -0,0 +1,3 @@
|
||||
class PostgresDB:
|
||||
def __init__(self):
|
||||
print("POSTGRES")
|
0
src/dbs/__init__.py
Normal file
0
src/dbs/__init__.py
Normal file
3
src/dbs/db.py
Normal file
3
src/dbs/db.py
Normal file
@ -0,0 +1,3 @@
|
||||
class DB:
|
||||
def __init__(self):
|
||||
print("DB")
|
6
src/test_queueing_model.py
Normal file
6
src/test_queueing_model.py
Normal file
@ -0,0 +1,6 @@
|
||||
from .databases import PostgresDB
|
||||
from .dbs.db import DB
|
||||
|
||||
def doSmth():
|
||||
p = PostgresDB()
|
||||
d = DB()
|
Loading…
x
Reference in New Issue
Block a user