Glider
Loading...
Searching...
No Matches
src.importer.generator.Generator Class Reference

Public Member Functions

 get_data (self, key, bucket, s3_client)
 
 getDf (self, ACCESS_ID, ACCESS_KEY, RESULTS_BUCKET, path)
 
 unique_values_from_isrc (self, df, release, isrc, field)
 
 generate (self, ACCESS_ID, ACCESS_KEY, RESULTS_BUCKET, path, client)
 
 update_data (self, line, collection)
 
 upload_catalog (self, df)
 

Detailed Description

    args: 
        s3_path: an array with path to files to generate the catalogue from.
    Returns: Nothing.
    raises: EmptyException if initialized empty.

Definition at line 25 of file generator.py.

Member Function Documentation

◆ generate()

src.importer.generator.Generator.generate ( self,
ACCESS_ID,
ACCESS_KEY,
RESULTS_BUCKET,
path,
client )

Definition at line 90 of file generator.py.

Here is the call graph for this function:

◆ get_data()

src.importer.generator.Generator.get_data ( self,
key,
bucket,
s3_client )

Definition at line 38 of file generator.py.

Here is the caller graph for this function:

◆ getDf()

src.importer.generator.Generator.getDf ( self,
ACCESS_ID,
ACCESS_KEY,
RESULTS_BUCKET,
path )

Definition at line 51 of file generator.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unique_values_from_isrc()

src.importer.generator.Generator.unique_values_from_isrc ( self,
df,
release,
isrc,
field )

Definition at line 77 of file generator.py.

Here is the caller graph for this function:

◆ update_data()

src.importer.generator.Generator.update_data ( self,
line,
collection )

Definition at line 118 of file generator.py.

Here is the caller graph for this function:

◆ upload_catalog()

src.importer.generator.Generator.upload_catalog ( self,
df )

Definition at line 145 of file generator.py.

Here is the call graph for this function:

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