Create sample with project
from LOGS import LOGS
from LOGS.Entities import Project, Sample
# Connect to LOGS
logs = LOGS()
# create a minimal project
project = Project(name="LOGS-Py generated")
logs.create(project)
# create a minimal sample
sample = Sample(name="LOGS-Py generated", projects=[project.toMinimal()])
logs.create(sample)
# show created sample as json
sample.printJson()