Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python-openxml/python-docx
/ given_a_comment_object
Function
given_a_comment_object
features/steps/comments.py:18–19 ·
view source on GitHub ↗
(context: Context)
Source
from the content-addressed store, hash-verified
16
17
@given(
"a Comment object"
)
18
def
given_a_comment_object(context: Context):
19
context.comment = Document(test_docx(
"comments-rich-para"
)).comments.get(0)
20
21
22
@given(
"a Comment object containing an embedded image"
)
Callers
nothing calls this directly
Calls
3
Document
Function · 0.90
test_docx
Function · 0.90
get
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…