2022-05-07 18:42:14 +02:00
|
|
|
from typing import List
|
2022-05-18 17:28:18 +02:00
|
|
|
|
2022-05-07 18:42:14 +02:00
|
|
|
from compose_viz.service import Service
|
|
|
|
|
|
|
|
|
|
|
|
class Compose:
|
|
|
|
def __init__(self, services: List[Service]) -> None:
|
2022-05-14 19:15:31 +02:00
|
|
|
self._services = services
|
2022-05-07 18:42:14 +02:00
|
|
|
|
|
|
|
def extract_networks(self) -> List[str]:
|
|
|
|
raise NotImplementedError
|
2022-05-14 19:15:31 +02:00
|
|
|
|
|
|
|
@property
|
|
|
|
def services(self):
|
|
|
|
return self._services
|