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

Split get_env_object function #15

Closed
matrxs opened this issue Jan 21, 2020 · 0 comments
Closed

Split get_env_object function #15

matrxs opened this issue Jan 21, 2020 · 0 comments
Labels
beginner Work suited when just starting core Work related to the core functionality enhancement New feature

Comments

@matrxs
Copy link
Owner

matrxs commented Jan 21, 2020

get_env_object now accepts ID, type and name.
Split this function into:

  • get_env_object(agent_id). Which returns 1 object (with that ID) or False
  • filter_env_objects(obj_type=False, obj_name=False). Which returns a list of objects which meet the specified criteria. No criteria returns all env objects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginner Work suited when just starting core Work related to the core functionality enhancement New feature
Projects
None yet
Development

No branches or pull requests

2 participants