DevOps-MBSE / AaC

Prototype Arch-as-Code
https://devops-mbse.github.io/AaC/
MIT License
27 stars 7 forks source link

Fixing a bug where the context could not find definition names with spaces when searched for. #863

Closed bunchw closed 1 month ago

bunchw commented 1 month ago

Description

The language context could not find definitions with spaces in their name because the fully qualified names are converted to python class names, which cannot have spaces. It seems to automatically remove the spaces from the python class name, so I had the search also remove the spaces from the name being searched for.

Linked Items:

Closes/Fixes/Resolves #828

Added

Changed

Deprecated

Removed

Fixed

get_definitions_by_name can now search for and find definitions with spaces in its name.

Security

Checklist: