MCPcopy Create free account
hub / github.com/pytest-dev/pytest-bdd / DocString

Class DocString

src/pytest_bdd/gherkin_parser.py:139–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137
138@dataclass
139class DocString:
140 content: str
141 delimiter: str
142 location: Location
143
144 @classmethod
145 def from_dict(cls, data: dict[str, Any]) -> Self:
146 return cls(
147 content=textwrap.dedent(data["content"]),
148 delimiter=data["delimiter"],
149 location=Location.from_dict(data["location"]),
150 )
151
152
153@dataclass

Callers 1

test_parserFunction · 0.90

Calls

no outgoing calls

Tested by 1

test_parserFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…