robotpy / pynetworktables

Pure python implementation of the FRC NetworkTables protocol
Other
60 stars 30 forks source link

Separate NetworkTables singleton from NetworkTable implementation #30

Closed virtuald closed 7 years ago

virtuald commented 7 years ago

Instead of:

NetworkTable.initialize()

Do

NetworkTables.initialize()
...etc

This will separate out the static initialization code from the main table code, and it's a clearer distinction between functionality.

For backwards compatibility purposes, in 2017 the static methods in NetworkTables will be copied to the NetworkTable class, but wrapped in a deprecated decorator.

virtuald commented 7 years ago

This has been implemented.