OpenQuizz
Une application de gestion des contenus pédagogiques
SearchScope Class Reference

Public Member Functions

def create (cls, find_links, index_urls)
 
def __init__ (self, find_links, index_urls)
 
def get_formatted_locations (self)
 
def get_index_urls_locations (self, project_name)
 

Data Fields

 find_links
 
 index_urls
 

Detailed Description

Encapsulates the locations that pip is configured to search.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  find_links,
  index_urls 
)

Member Function Documentation

◆ create()

def create (   cls,
  find_links,
  index_urls 
)
Create a SearchScope object after normalizing the `find_links`.

◆ get_formatted_locations()

def get_formatted_locations (   self)

◆ get_index_urls_locations()

def get_index_urls_locations (   self,
  project_name 
)
Returns the locations found via self.index_urls

Checks the url_name on the main (first in the list) index and
use this url_name to produce all locations

Field Documentation

◆ find_links

find_links

◆ index_urls

index_urls

The documentation for this class was generated from the following file: