avroconvert.sources.filesystem package¶
Submodules¶
avroconvert.sources.filesystem.reader module¶
- class avroconvert.sources.filesystem.reader.FileSystem(bucket: str, prefix: Optional[str] = None, datatype: str = 'avro')[source]¶
Bases:
object- Parameters
datatype –
- str
format of the source file, which will be read from google cloud storage. Default value is avro
- type datatype
str
- param prefix
str prefix is the starting letters of the file names in the cloud storage. For example, if the bucket contains files with name test-01, test-02 and test-03, the file prefix can be test. All the files with this prefix will be read
- type prefix
str