From 480a585c5d399166046a01924e077901a246c0e7 Mon Sep 17 00:00:00 2001 From: andrew000 <11490628+andrew000@users.noreply.github.com> Date: Mon, 28 Apr 2025 10:59:12 +0300 Subject: [PATCH] Add 1683.feature.rst --- CHANGES/1683.feature.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 CHANGES/1683.feature.rst diff --git a/CHANGES/1683.feature.rst b/CHANGES/1683.feature.rst new file mode 100644 index 00000000..97a53e2e --- /dev/null +++ b/CHANGES/1683.feature.rst @@ -0,0 +1,11 @@ +Refactor methods input types to calm down MyPy. #1682 + +`Dict[str, Any]` is replaced with `Mapping[str, Any]` in the following methods: + +- `FSMContext.set_data` +- `FSMContext.update_data` +- `BaseStorage.set_data` +- `BaseStorage.update_data` +- `BaseStorage's child methods` +- `SceneWizard.set_data` +- `SceneWizard.update_data`