| 
73 | 73 | 
 
  | 
74 | 74 | from cylc.flow import __version__ as CYLC_VERSION, LOG  | 
75 | 75 | from cylc.flow.cycling.loader import get_point  | 
76 |  | -from cylc.flow.data_messages_pb2 import (  | 
 | 76 | +from cylc.flow.network.protobuf.cylc.v5.schema_pb2 import (  | 
77 | 77 |     PbEdge, PbEntireWorkflow, PbFamily, PbFamilyProxy, PbJob, PbTask,  | 
78 | 78 |     PbTaskProxy, PbWorkflow, PbRuntime, AllDeltas, EDeltas, FDeltas,  | 
79 | 79 |     FPDeltas, JDeltas, TDeltas, TPDeltas, WDeltas)  | 
@@ -382,7 +382,7 @@ def create_delta_store(delta=None, workflow_id=None):  | 
382 | 382 |     """Create a mini data-store out of the all deltas message.  | 
383 | 383 | 
  | 
384 | 384 |     Args:  | 
385 |  | -        delta (cylc.flow.data_messages_pb2.AllDeltas):  | 
 | 385 | +        delta (cylc.flow.v5.schema_pb2.AllDeltas):  | 
386 | 386 |             The message of accumulated deltas for publish/push.  | 
387 | 387 |         workflow_id (str):  | 
388 | 388 |             The workflow ID.  | 
@@ -430,18 +430,18 @@ class DataStoreMgr:  | 
430 | 430 |             Local store of config.get_first_parent_ancestors()  | 
431 | 431 |         .data (dict):  | 
432 | 432 |             .edges (dict):  | 
433 |  | -                cylc.flow.data_messages_pb2.PbEdge by internal ID.  | 
 | 433 | +                cylc.flow.v5.schema_pb2.PbEdge by internal ID.  | 
434 | 434 |             .families (dict):  | 
435 |  | -                cylc.flow.data_messages_pb2.PbFamily by name (internal ID).  | 
 | 435 | +                cylc.flow.v5.schema_pb2.PbFamily by name (internal ID).  | 
436 | 436 |             .family_proxies (dict):  | 
437 |  | -                cylc.flow.data_messages_pb2.PbFamilyProxy by internal ID.  | 
 | 437 | +                cylc.flow.v5.schema_pb2.PbFamilyProxy by internal ID.  | 
438 | 438 |             .jobs (dict):  | 
439 |  | -                cylc.flow.data_messages_pb2.PbJob by internal ID.  | 
 | 439 | +                cylc.flow.v5.schema_pb2.PbJob by internal ID.  | 
440 | 440 |             .tasks (dict):  | 
441 |  | -                cylc.flow.data_messages_pb2.PbTask by name (internal ID).  | 
 | 441 | +                cylc.flow.v5.schema_pb2.PbTask by name (internal ID).  | 
442 | 442 |             .task_proxies (dict):  | 
443 |  | -                cylc.flow.data_messages_pb2.PbTaskProxy by internal ID.  | 
444 |  | -            .workflow (cylc.flow.data_messages_pb2.PbWorkflow)  | 
 | 443 | +                cylc.flow.v5.schema_pb2.PbTaskProxy by internal ID.  | 
 | 444 | +            .workflow (cylc.flow.v5.schema_pb2.PbWorkflow)  | 
445 | 445 |                 Message containing the global information of the workflow.  | 
446 | 446 |         .descendants (dict):  | 
447 | 447 |             Local store of config.get_first_parent_descendants()  | 
@@ -2688,7 +2688,7 @@ def get_entire_workflow(self):  | 
2688 | 2688 |         """Gather data elements into single Protobuf message.  | 
2689 | 2689 | 
  | 
2690 | 2690 |         Returns:  | 
2691 |  | -            cylc.flow.data_messages_pb2.PbEntireWorkflow  | 
 | 2691 | +            cylc.flow.v5.schema_pb2.PbEntireWorkflow  | 
2692 | 2692 | 
  | 
2693 | 2693 |         """  | 
2694 | 2694 | 
 
  | 
 | 
0 commit comments