1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#------------------------------------------------------------------------------
# Copyright (c) 2021-2025, Nucleic Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
#------------------------------------------------------------------------------
- case: signal
main: |
from atom.api import Atom, Signal
class A(Atom):
m = Signal()
reveal_type(A.m) # N: Revealed type is "atom.signal.Signal"
reveal_type(A().m) # N: Revealed type is "atom.catom.SignalConnector"
A().m()
|