MCPcopy Create free account
hub / github.com/hunvreus/devpush / active_environments

Method active_environments

app/models.py:522–524  ·  view source on GitHub ↗

Get only active environments

(self)

Source from the content-addressed store, hash-verified

520
521 @property
522 def active_environments(self) -> list[dict]:
523 """Get only active environments"""
524 return [env for env in self.environments if env.get("status") == "active"]
525
526 def get_environment_by_id(self, env_id: str) -> dict | None:
527 """Get environment by ID"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected