create_comment() — fastapi Function Reference
Architecture documentation for the create_comment() function in notify_translations.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD 7b21b141_8eaf_f1b4_7d31_def0d718bfe6["create_comment()"] 97ea90ba_5175_e861_5c41_e18772cfce41["notify_translations.py"] 7b21b141_8eaf_f1b4_7d31_def0d718bfe6 -->|defined in| 97ea90ba_5175_e861_5c41_e18772cfce41 aff23c90_a22b_d9fe_46af_57f96d115b4e["main()"] aff23c90_a22b_d9fe_46af_57f96d115b4e -->|calls| 7b21b141_8eaf_f1b4_7d31_def0d718bfe6 5de10094_76ff_e44a_c8f3_3063ed26efa2["get_graphql_response()"] 7b21b141_8eaf_f1b4_7d31_def0d718bfe6 -->|calls| 5de10094_76ff_e44a_c8f3_3063ed26efa2 style 7b21b141_8eaf_f1b4_7d31_def0d718bfe6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
scripts/notify_translations.py lines 284–292
def create_comment(*, settings: Settings, discussion_id: str, body: str) -> Comment:
data = get_graphql_response(
settings=settings,
query=add_comment_mutation,
discussion_id=discussion_id,
body=body,
)
response = AddCommentResponse.model_validate(data)
return response.data.addDiscussionComment.comment
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does create_comment() do?
create_comment() is a function in the fastapi codebase, defined in scripts/notify_translations.py.
Where is create_comment() defined?
create_comment() is defined in scripts/notify_translations.py at line 284.
What does create_comment() call?
create_comment() calls 1 function(s): get_graphql_response.
What calls create_comment()?
create_comment() is called by 1 function(s): main.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free