From fd2aeff57a887ef1367c2b7c37058fb8c7211be4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 15 Dec 2024 17:59:37 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- vizro-core/src/vizro/models/_components/form/date_picker.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vizro-core/src/vizro/models/_components/form/date_picker.py b/vizro-core/src/vizro/models/_components/form/date_picker.py index 07c931c6c..80f884abb 100644 --- a/vizro-core/src/vizro/models/_components/form/date_picker.py +++ b/vizro-core/src/vizro/models/_components/form/date_picker.py @@ -1,7 +1,7 @@ from typing import Literal, Optional, Union import dash_mantine_components as dmc -from dash import Input, Output, State, dcc, html +from dash import html try: from pydantic.v1 import Field, PrivateAttr, validator @@ -58,7 +58,6 @@ def build(self): init_value = self.value or ([self.min, self.max] if self.range else self.min) # type: ignore[list-item] date_range_picker_kwargs = {"allowSingleDateInRange": True} if self.range else {} - date_picker = dmc.DatePickerInput( id=self.id, minDate=self.min,