parameters: (user_id: int)
return_statement: return query_results
docstring: Gets organisations a user can manage
docstring_summary: Gets organisations a user can manage
docstring_tokens: Gets organisations a user can manage
function: def get_organisations_managed_by_user(user_id: int):
          """ Gets organisations a user can manage """
          query_results = (
              Organisation.query.join(organisation_managers)
              .filter(
                  (organisation_managers.c.organisation_id == Organisation.id)
                  & (organisation_managers.c.user_id == user_id)
              )
              .order_by(Organisation.name)
              .all()
          )
          return query_results
function_tokens: def get_organisations_managed_by_user ( user_id : int ) : query_results = ( Organisation . query . join ( organisation_managers ) . filter ( ( organisation_managers . c . organisation_id == Organisation . id ) & ( organisation_managers . c . user_id == user_id ) ) . order_by ( Organisation . name ) . all ( ) ) return query_results