Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing MacroProperty methods in EnvironmentDescription #1219

Open
ptheywood opened this issue Aug 12, 2024 · 1 comment
Open

Missing MacroProperty methods in EnvironmentDescription #1219

ptheywood opened this issue Aug 12, 2024 · 1 comment

Comments

@ptheywood
Copy link
Member

The EnvironmentDescription class only contains the ability to add new MacroProperty values, via newMacroProperty.

There are no methods to get an existing MacroProperty (i.e. no getProperty equivalent.

A method for checking if a macro env property has been set would also be good, to standardise the description interfraces with AgentDesction a little (aslo see #1218)

@Robadob
Copy link
Member

Robadob commented Aug 12, 2024

iirc this is because macro properties have to be set during runtime (e.g. in init function or agent function), they never exist on the host. (Somewhat arbitrary development decision, to avoid people doing bad perf stuff)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants