sysmlpy 0.49.0__tar.gz → 0.50.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/PKG-INFO +1 -1
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/pyproject.toml +1 -1
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/__init__.py +1 -1
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr_visitor.py +4 -2
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/classes.py +14 -3
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/LICENSE +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/README.md +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/__main__.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr/README.md +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr/SysMLv2Lexer.interp +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr/SysMLv2Lexer.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr/SysMLv2Lexer.tokens +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr/SysMLv2Parser.interp +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr/SysMLv2Parser.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr/SysMLv2Parser.tokens +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr/SysMLv2ParserListener.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr/SysMLv2ParserVisitor.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.interp +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.tokens +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr_parser.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/boxes_view.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/definition.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/examples/attribute_values.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/examples/part_attributes.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/examples/tuples_sequences.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/formatting.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/README.md +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.g4 +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.interp +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.tokens +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/SysMLv2Parser.g4 +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/SysMLv2Parser.interp +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/SysMLv2Parser.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/SysMLv2Parser.tokens +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/SysMLv2ParserListener.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/SysMLv2ParserVisitor.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/desc.xml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/examples/camera.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/examples/toaster-system.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/examples/vehicle-model.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/grammar/antlr4/pom.xml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/LICENSE +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/README.md +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/__init__.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Analysis/AnalysisTooling.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Analysis/SampledFunctions.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Analysis/StateSpaceRepresentation.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Analysis/TradeStudies.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Cause and Effect/CausationConnections.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Cause and Effect/CauseAndEffect.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Geometry/ShapeItems.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Geometry/SpatialItems.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Metadata/ImageMetadata.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Metadata/ModelingMetadata.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Metadata/ParametersOfInterestMetadata.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Metadata/RiskMetadata.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQ.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQAcoustics.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQAtomicNuclear.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQBase.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQCharacteristicNumbers.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQChemistryMolecular.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQCondensedMatter.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQElectromagnetism.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQInformation.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQLight.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQMechanics.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQSpaceTime.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQThermodynamics.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/MeasurementRefCalculations.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/MeasurementReferences.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/Quantities.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/QuantityCalculations.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/SI.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/SIPrefixes.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/TensorCalculations.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/Time.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/USCustomaryUnits.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/VectorCalculations.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Requirement Derivation/DerivationConnections.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Requirement Derivation/RequirementDerivation.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/Base.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/BaseFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/BooleanFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/Clocks.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/CollectionFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/Collections.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/ComplexFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/ControlFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/ControlPerformances.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/DataFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/FeatureReferencingPerformances.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/IntegerFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/KerML.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/Links.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/Metaobjects.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/NaturalFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/NumericalFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/Objects.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/Observation.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/OccurrenceFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/Occurrences.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/Performances.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/RationalFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/RealFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/ScalarFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/ScalarValues.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/SequenceFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/SpatialFrames.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/StatePerformances.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/StringFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/Transfers.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/TransitionPerformances.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/TrigFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/Triggers.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/VectorFunctions.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/VectorValues.kerml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/Actions.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/Allocations.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/AnalysisCases.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/Attributes.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/Calculations.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/Cases.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/Connections.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/Constraints.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/Flows.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/Interfaces.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/Items.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/Metadata.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/Parts.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/Ports.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/Requirements.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/StandardViewDefinitions.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/States.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/SysML.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/UseCases.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/VerificationCases.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/systems/Views.sysml +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/navigate.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/plantuml.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/project.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/semantic.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/store.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/us_customary_units.txt +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/usage.py +0 -0
- {sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/validator.py +0 -0
|
@@ -25,7 +25,7 @@ __all__ = [
|
|
|
25
25
|
"render_state_transition_view_svg", "boxes_view",
|
|
26
26
|
]
|
|
27
27
|
__author__ = "Jon Fox"
|
|
28
|
-
__version__ = "0.
|
|
28
|
+
__version__ = "0.50.0"
|
|
29
29
|
|
|
30
30
|
from sysmlpy.usage import (
|
|
31
31
|
Item, Attribute, Part, Port, Action, Reference, UseCase, Requirement, Interface, Message,
|
|
@@ -8066,7 +8066,9 @@ def _make_allocation_usage_dict(ctx, prefix=None):
|
|
|
8066
8066
|
Issue #5: the connector endpoints (`allocate X to Y`) were silently
|
|
8067
8067
|
dropped before reaching the dict. Mirror the InterfaceUsage pattern:
|
|
8068
8068
|
walk `aud.connectorPart()` (when present) and emit a ConnectorPart
|
|
8069
|
-
dict with binary or nary ends
|
|
8069
|
+
dict with binary or nary ends under the `part` key — the same key
|
|
8070
|
+
ConnectionUsage already uses, so downstream consumers share one
|
|
8071
|
+
shape across connector-bearing usages.
|
|
8070
8072
|
"""
|
|
8071
8073
|
name = None
|
|
8072
8074
|
shortname = None
|
|
@@ -8122,7 +8124,7 @@ def _make_allocation_usage_dict(ctx, prefix=None):
|
|
|
8122
8124
|
"specialization": None
|
|
8123
8125
|
}
|
|
8124
8126
|
},
|
|
8125
|
-
"
|
|
8127
|
+
"part": connector_part,
|
|
8126
8128
|
"body": {
|
|
8127
8129
|
"name": "UsageBody",
|
|
8128
8130
|
"body": {
|
|
@@ -9893,10 +9893,18 @@ class AllocationUsage(_PrefixedUsageBase):
|
|
|
9893
9893
|
|
|
9894
9894
|
def __init__(self, definition=None):
|
|
9895
9895
|
super().__init__(definition)
|
|
9896
|
+
# Issue #5 / PR #6: stores the connectorPart (the `allocate X to Y`
|
|
9897
|
+
# endpoints) on the same `part` key ConnectionUsage already uses, so
|
|
9898
|
+
# downstream consumers share one shape across connector-bearing
|
|
9899
|
+
# usages. Initialized from `definition["part"]` for round-trip
|
|
9900
|
+
# compatibility with the visitor; legacy `definition["connectorPart"]`
|
|
9901
|
+
# is also accepted as a fallback so callers that built dicts using
|
|
9902
|
+
# the v0.47.0 contract keep working until they migrate.
|
|
9896
9903
|
self.connectorPart = None
|
|
9897
9904
|
if definition is not None and valid_definition(definition, self.__class__.__name__):
|
|
9898
|
-
|
|
9899
|
-
|
|
9905
|
+
raw = definition.get("part", definition.get("connectorPart"))
|
|
9906
|
+
if raw is not None:
|
|
9907
|
+
self.connectorPart = ConnectorPart(raw)
|
|
9900
9908
|
|
|
9901
9909
|
def dump(self):
|
|
9902
9910
|
parts = []
|
|
@@ -9916,8 +9924,11 @@ class AllocationUsage(_PrefixedUsageBase):
|
|
|
9916
9924
|
return " ".join(parts)
|
|
9917
9925
|
|
|
9918
9926
|
def get_definition(self):
|
|
9927
|
+
# Emit under the `part` key (matching ConnectionUsage convention
|
|
9928
|
+
# from PR #6). The legacy `connectorPart` alias is no longer emitted
|
|
9929
|
+
# but ``__init__`` still accepts it for back-compat reads.
|
|
9919
9930
|
output = super().get_definition()
|
|
9920
|
-
output["
|
|
9931
|
+
output["part"] = self.connectorPart.get_definition() if self.connectorPart else None
|
|
9921
9932
|
return output
|
|
9922
9933
|
|
|
9923
9934
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.interp
RENAMED
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.py
RENAMED
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/antlr/src/sysmlpy/grammar/antlr4/SysMLv2Lexer.tokens
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Analysis/SampledFunctions.sysml
RENAMED
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Analysis/StateSpaceRepresentation.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Cause and Effect/CauseAndEffect.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Metadata/ModelingMetadata.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQAcoustics.sysml
RENAMED
|
File without changes
|
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQBase.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQLight.sysml
RENAMED
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQMechanics.sysml
RENAMED
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/ISQSpaceTime.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/Quantities.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/SIPrefixes.sysml
RENAMED
|
File without changes
|
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/domain/Quantities and Units/Time.sysml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sysmlpy-0.49.0 → sysmlpy-0.50.0}/src/sysmlpy/library/kernel/FeatureReferencingPerformances.kerml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|