enquete class documentation + a bit of the others
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user