concrete.learn.ActiveLearnerClientService module¶
-
class
concrete.learn.ActiveLearnerClientService.
Client
(iprot, oprot=None)¶ Bases:
concrete.services.Service.Client
,concrete.learn.ActiveLearnerClientService.Iface
The active learner client implements a method to accept new sorts of the annotation units
-
recv_submitSort
()¶
-
send_submitSort
(sessionId, unitIds)¶
-
submitSort
(sessionId, unitIds)¶ Submit a new sort of communications to the broker
Parameters: - sessionId (-) –
- unitIds (-) –
-
-
class
concrete.learn.ActiveLearnerClientService.
Iface
¶ Bases:
concrete.services.Service.Iface
The active learner client implements a method to accept new sorts of the annotation units
-
submitSort
(sessionId, unitIds)¶ Submit a new sort of communications to the broker
Parameters: - sessionId (-) –
- unitIds (-) –
-
-
class
concrete.learn.ActiveLearnerClientService.
Processor
(handler)¶ Bases:
concrete.services.Service.Processor
,concrete.learn.ActiveLearnerClientService.Iface
,thrift.Thrift.TProcessor
-
process
(iprot, oprot)¶
-
process_submitSort
(seqid, iprot, oprot)¶
-
-
class
concrete.learn.ActiveLearnerClientService.
submitSort_args
(sessionId=None, unitIds=None)¶ Bases:
object
-
- sessionId
-
- unitIds
-
read
(iprot)¶
-
thrift_spec
= (None, (1, 12, 'sessionId', (<class 'concrete.uuid.ttypes.UUID'>, (None, (1, 11, 'uuidString', 'UTF8', None))), None), (2, 15, 'unitIds', (12, (<class 'concrete.services.ttypes.AnnotationUnitIdentifier'>, (None, (1, 11, 'communicationId', 'UTF8', None), (2, 12, 'sentenceId', (<class 'concrete.uuid.ttypes.UUID'>, (None, (1, 11, 'uuidString', 'UTF8', None))), None))), False), None))¶
-
validate
()¶
-
write
(oprot)¶
-