Hello there, I am unable to create the deploying components for a physical component https://dbinfrago.github.io/py-capellambse/code/capellambse.metamodel.pa.html#capellambse.metamodel.pa.PhysicalArchitecture.component_pkg
YAML:
- parent: !uuid 40d4887e-3a5a-480c-856e-2b88215fb79a #pa components package
extend:
components:
- name: Bean Hopper
promise_id: pa_Bean Hopper
nature: NODE
- name: Bean Hopper Level
promise_id: pa_Bean Hopper Level
nature: BEHAVIOR
deploying_components:
- !promise pa_Bean Hopper
ports:
- name: in1
kind: FLOW
direction: IN
promise_id: pa_in1
- name: out1
kind: FLOW
direction: OUT
promise_id: pa_out1
allocated_functions:
- !promise pa_Hold Coffee Beans
- name: User
promise_id: pa_User
is_actor: true
is_human: false
ports:
- name: tobean
kind: FLOW
direction: OUT
promise_id: pa_tobean
exchanges:
- name: Exchange_1
source: !promise pa_tobean
target: !promise pa_in1
ERROR: TypeError: Cannot create object: PhysicalComponent.deploying_components is not model-coupled
Hello there, I am unable to create the deploying components for a physical component https://dbinfrago.github.io/py-capellambse/code/capellambse.metamodel.pa.html#capellambse.metamodel.pa.PhysicalArchitecture.component_pkg
YAML:
extend:
components:
- name: Bean Hopper
promise_id: pa_Bean Hopper
nature: NODE
- name: Bean Hopper Level
promise_id: pa_Bean Hopper Level
nature: BEHAVIOR
deploying_components:
- !promise pa_Bean Hopper
ports:
- name: in1
kind: FLOW
direction: IN
promise_id: pa_in1
- name: out1
kind: FLOW
direction: OUT
promise_id: pa_out1
allocated_functions:
- !promise pa_Hold Coffee Beans
- name: User
promise_id: pa_User
is_actor: true
is_human: false
ports:
- name: tobean
kind: FLOW
direction: OUT
promise_id: pa_tobean
exchanges:
- name: Exchange_1
source: !promise pa_tobean
target: !promise pa_in1
ERROR: TypeError: Cannot create object: PhysicalComponent.deploying_components is not model-coupled