caproto.server.PVSpec¶
-
class
caproto.server.
PVSpec
(get=None, put=None, startup=None, shutdown=None, attr=None, name=None, dtype=None, value=None, max_length=None, alarm_group=None, read_only=None, doc=None, fields=None, scan=None, record=None, cls_kwargs=None)[source]¶ Create new instance of PVSpec(get, put, startup, shutdown, attr, name, dtype, value, max_length, alarm_group, read_only, doc, fields, scan, record, cls_kwargs)
Methods
count
(value, /)Return number of occurrences of value.
create
([group])Create a ChannelData instance based on this PVSpec.
get_data_class
([group])Return the data class for a given PVSpec in a group.
get_instantiation_info
([group])Get class and instantiation arguments, given a parent group.
index
(value[, start, stop])Return first index of value.
new_names
([attr, name])Attributes
alarm_group
Alias for field number 9
attr
Alias for field number 4
cls_kwargs
Alias for field number 15
doc
Alias for field number 11
dtype
Alias for field number 6
fields
Alias for field number 12
get
Alias for field number 0
max_length
Alias for field number 8
name
Alias for field number 5
put
Alias for field number 1
read_only
Alias for field number 10
record
Alias for field number 14
scan
Alias for field number 13
shutdown
Alias for field number 3
startup
Alias for field number 2
value
Alias for field number 7