MCPcopy Index your code
hub / github.com/rommapp/romm / get_admin_users

Method get_admin_users

backend/handler/database/users_handler.py:126–131  ·  view source on GitHub ↗
(
        self,
        session: Session = None,  # type: ignore
    )

Source from the content-addressed store, hash-verified

124
125 @begin_session
126 def get_admin_users(
127 self,
128 session: Session = None, # type: ignore
129 ) -> Sequence[User]:
130 query = self.filter(select(User), roles=[Role.ADMIN])
131 return session.scalars(query).all()

Callers 6

add_userFunction · 0.80
create_invite_linkFunction · 0.80
delete_userFunction · 0.80
heartbeatFunction · 0.80
get_setup_library_infoFunction · 0.80
create_setup_platformsFunction · 0.80

Calls 1

filterMethod · 0.95

Tested by

no test coverage detected