MCPcopy Create free account
hub / github.com/TextGeneratorio/text-generator.io / save

Method save

questions/sql_models.py:77–82  ·  view source on GitHub ↗
(cls, user)

Source from the content-addressed store, hash-verified

75
76 @classmethod
77 def save(cls, user):
78 with SessionLocal() as session:
79 session.add(user)
80 session.commit()
81 session.refresh(user)
82 return user
83
84
85class Document(BaseModel):

Callers 15

test_api_functionsFunction · 0.45
create_user_legacyFunction · 0.45
upload_imageFunction · 0.45
playground.jsFile · 0.45
backbone.jsFile · 0.45
getLineStylesFunction · 0.45
getContextBeforeFunction · 0.45
highlightWorkerFunction · 0.45
save_document_routeFunction · 0.45
autosave_document_routeFunction · 0.45

Calls

no outgoing calls

Tested by 7

test_api_functionsFunction · 0.36
sample_image_bytesMethod · 0.36
pptx_fileFunction · 0.36