NTSendableBuilder

class ntcore.NTSendableBuilder

Bases: SendableBuilder

getBackendKind() wpiutil._wpiutil.SendableBuilder.BackendKind

Gets the kind of backend being used.

Returns:

Backend kind

getTable() ntcore._ntcore.NetworkTable

Get the network table.

Returns:

The network table

getTopic(key: str) ntcore._ntcore.Topic

Add a property without getters or setters. This can be used to get entry handles for the function called by SetUpdateTable().

Parameters:

key – property name

Returns:

Network table topic

setUpdateTable(func: Callable[[], None]) None

Set the function that should be called to update the network table for things other than properties. Note this function is not passed the network table object; instead it should use the entry handles returned by GetEntry().

Parameters:

func – function