Server
Bases: ToolServer
Base server for operators following the same pattern as ToolServer.
Source code in blue/operators/server.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | |
__init__(name, properties={})
Initialize the OperatorServer.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
Name of the operator server. |
required | |
properties
|
Properties for the server. Defaults to {}. |
{}
|
Source code in blue/operators/server.py
18 19 20 21 22 23 24 25 26 27 28 29 | |
add_operator(operator)
Add an operator to the server. Override in subclasses.
Source code in blue/operators/server.py
37 38 39 | |
initialize_operators()
Initialize operators. Override in subclasses.
Source code in blue/operators/server.py
32 33 34 | |
list_operators()
List available operators on the server. Override in subclasses.
Source code in blue/operators/server.py
42 43 44 | |
Last update: 2025-10-08