Skip to content

Commit 40ee90b

Browse files
Moving events footnote to correct subsection
1 parent dd8c0a2 commit 40ee90b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/using_things.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The interface to a `Thing` is defined by its actions, properties and events [#ev
55

66
:class:`.ThingClient` subclasses can be generated dynamically from a URL using :meth:`.ThingClient.from_url`. This creates an object with the right methods, properties and docstrings, though type hints are often missing. The client can be "introspected" to explore its methods and properties using tools that work at run-time (e.g. autocompletion in a Jupyter notebook), but "static" analysis tools will not yet work.
77

8+
.. [#events] Events are not yet implemented.
9+
810
Using Things from other languages
911
----------------------------------
1012

@@ -17,8 +19,6 @@ Dynamic class generation
1719

1820
The object returned by :meth:`.ThingClient.from_url` is an instance of a dynamically-created subclass of :class:`.ThingClient`. Dynamically creating the class is needed because we don't know what the methods and properties should be until we have downloaded the Thing Description. However, this means most code autocompletion tools, type checkers, and linters will not work well with these classes. In the future, LabThings-FastAPI will generate custom client subclasses that can be shared in client modules, which should fix these problems (see below).
1921

20-
.. [#events] Events are not yet implemented.
21-
2222
Using Things from other Things
2323
------------------------------
2424

0 commit comments

Comments
 (0)