コード例 #1
0
ファイル: organization.py プロジェクト: adviti/melange
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
ファイル: organization.py プロジェクト: rhyolight/nupic.son
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)