Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
85
class
Document(BaseModel):
Callers
15
test_api_functions
Function · 0.45
test_caption_from_file_upload
Method · 0.45
test_both_file_and_url_provided
Method · 0.45
create_user_legacy
Function · 0.45
upload_image
Function · 0.45
playground.js
File · 0.45
backbone.js
File · 0.45
getLineStyles
Function · 0.45
getContextBefore
Function · 0.45
highlightWorker
Function · 0.45
save_document_route
Function · 0.45
autosave_document_route
Function · 0.45
Calls
no outgoing calls
Tested by
7
test_api_functions
Function · 0.36
test_caption_from_file_upload
Method · 0.36
test_both_file_and_url_provided
Method · 0.36
test_process_image_downscales
Function · 0.36
sample_image_bytes
Method · 0.36
test_caption_image_bytes
Method · 0.36
pptx_file
Function · 0.36