示例#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)
示例#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)
示例#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)