Generate a `.Context` appropriate for this call, with given config. .. versionadded:: 1.0 .. versionchanged:: 3.0 Added the ``core_parse_result`` parameter.
(
self,
config: "Config",
core_parse_result: "ParseResult",
)
| 429 | return True |
| 430 | |
| 431 | def make_context( |
| 432 | self, |
| 433 | config: "Config", |
| 434 | core_parse_result: "ParseResult", |
| 435 | ) -> Context: |
| 436 | """ |
| 437 | Generate a `.Context` appropriate for this call, with given config. |
| 438 | |
| 439 | .. versionadded:: 1.0 |
| 440 | .. versionchanged:: 3.0 |
| 441 | Added the ``core_parse_result`` parameter. |
| 442 | """ |
| 443 | return Context(config=config, remainder=core_parse_result.remainder) |
| 444 | |
| 445 | def clone_data(self) -> Dict[str, Any]: |
| 446 | """ |
no test coverage detected