Exemplo n.º 1
0
def participating(program):
    """Return a list of GCI organizations to display on GCI program homepage.

  Function that acts as a GCI module wrapper for fetching participating
  organizations.

  Args:
    program: GCIProgram entity for which the orgs need to be fetched.
  """
    return org_logic.participating(GCIOrganization, program)
Exemplo n.º 2
0
def participating(program, org_count=None):
    """Return a list of GCI organizations to display on GCI program homepage.

  Function that acts as a GCI module wrapper for fetching participating
  organizations.

  Args:
    program: GCIProgram entity for which the orgs need to be fetched.
    org_count: The number of organizations to return (if possible).
  """
    return org_logic.participating(GCIOrganization, program, org_count=org_count)
Exemplo n.º 3
0
def participating(program, org_count=None):
    """Return a list of GCI organizations to display on GCI program homepage.

  Function that acts as a GCI module wrapper for fetching participating
  organizations.

  Args:
    program: GCIProgram entity for which the orgs need to be fetched.
    org_count: The number of organizations to return (if possible).
  """
    return org_logic.participating(GCIOrganization,
                                   program,
                                   org_count=org_count)