Skip to content
This repository was archived by the owner on Dec 24, 2025. It is now read-only.

Commit de3d7a1

Browse files
committed
test v1-init flet branch
1 parent ebf1b74 commit de3d7a1

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

mkdocs.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ theme:
4343
- content.action.view
4444
- content.action.annotate
4545
- content.action.copy
46+
- content.tooltips
4647
- content.action.tooltips
4748
- content.code.annotate
4849
- content.code.copy
@@ -168,6 +169,15 @@ plugins:
168169
filters:
169170
- "!^_" # Exclude private members starting with only one underscore
170171
- "!before_update"
172+
- "!before_event"
173+
- "!clean"
174+
- "!did_mount"
175+
- "!init"
176+
- "!is_isolated"
177+
- "!update"
178+
- "!will_unmount"
179+
extensions:
180+
- griffe_modernized_annotations
171181
inventories:
172182
- url: https://docs.python.org/3/objects.inv
173183
domains: [ py, std ]

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ docs = [
3535
"pymdown-extensions",
3636
"mkdocs-glightbox",
3737
"mkdocs-section-index",
38+
"griffe-modernized-annotations",
3839
"pygments>=2.16",
3940
]
4041

4142
[tool.uv.sources]
42-
flet = { git = "https://github.com/flet-dev/flet", subdirectory = "sdk/python/packages/flet", rev = "v1" }
43+
flet = { git = "https://github.com/flet-dev/flet", subdirectory = "sdk/python/packages/flet", rev = "v1-init" }
4344

4445
[build-system]
4546
requires = ["setuptools"]

src/flet_map/map.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import asyncio
22
from dataclasses import field
3-
from typing import List, Optional
3+
from typing import Optional
44

55
import flet as ft
66

@@ -25,7 +25,7 @@ class Map(ft.ConstrainedControl):
2525
An interactive map control that allows displaying various layers.
2626
"""
2727

28-
layers: List[MapLayer]
28+
layers: list[MapLayer]
2929
"""
3030
A list of layers to be displayed (stack-like) on the map.
3131

0 commit comments

Comments
 (0)