core/homeassistant/components/mobile_app
epenet a202588fd2
Add return type to json_loads (#85672)
* Add JSON type definitions

* Sample use

* Keep mutable for a follo-up PR (avoid dead code)

* Use list/dict

* Remove JsonObjectType

* Remove reference to Union

* Cleanup

* Improve rest

* Rename json_dict => json_data

* Add docstring

* Add type hint to json_loads

* Add cast

* Move type alias to json helpers

* Cleanup

* Create and use json_loads_object

* Make error more explicit and add tests

* Use JsonObjectType in conversation

* Remove quotes
2023-02-07 17:21:55 +01:00
..
__init__.py
binary_sensor.py
config_flow.py
const.py
device_action.py
device_tracker.py
entity.py
helpers.py
http_api.py
logbook.py
manifest.json
notify.py
push_notification.py
sensor.py
services.yaml
strings.json
util.py
webhook.py
websocket_api.py