enquete class documentation + a bit of the others

This commit is contained in:
Bram Barbieri
2024-04-02 21:13:27 +02:00
parent 556f06026e
commit 5d8bec404b
3 changed files with 48 additions and 9 deletions

View File

@@ -9,6 +9,11 @@ import json
#Import classes and functions from different files.
from classes_data import Node
from classes_data import dbLogin
```
After this the "__init__"function is called.
(In javascript this is known as the "constructor".
For further information visit https://www.w3schools.com/python/gloss_python_class_init.asp)
```py
#A class to send data to the database. child class of "Node"
class SensorNode(Node):
#A private query only to be used in this class.