Skip to content

Commit b673c81

Browse files
committed
Add references to Textual's original code
1 parent 50c754a commit b673c81

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

reacttrs/_callback.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# this is a partial copy/paste from:
2+
# https://github.com/Textualize/textual/blob/ed28a7019c1cb3343c8e8284ff82d984800fb579/src/textual/_callback.py
3+
14
from functools import lru_cache
25
from typing import Callable
36
from inspect import signature

reacttrs/reactive.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# this is a partial copy/paste from:
2+
# https://github.com/Textualize/textual/blob/373fc95fc1a5650fd864053e4153eb2d6b38f087/src/textual/reactive.py
3+
14
import asyncio
25
from inspect import isawaitable
36
from typing import Any, Awaitable, Callable, ClassVar, Generic, TypeVar

0 commit comments

Comments
 (0)