MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / generate_from_json

Method generate_from_json

py/generate.py:535–538  ·  view source on GitHub ↗

Generate the code to instantiate this parameter from a JSON dict.

(self, dict_)

Source from the content-addressed store, hash-verified

533 return doc
534
535 def generate_from_json(self, dict_):
536 """Generate the code to instantiate this parameter from a JSON dict."""
537 code = super().generate_from_json(dict_)
538 return f"{self.py_name}={code}"
539
540
541class CdpReturn(CdpProperty):

Callers

nothing calls this directly

Calls 1

generate_from_jsonMethod · 0.45

Tested by

no test coverage detected