astro.files.locations.local

Module Contents

Classes

LocalLocation

Handler Local file path operations

class astro.files.locations.local.LocalLocation(path, conn_id=None)

Bases: astro.files.locations.base.BaseFileLocation

Handler Local file path operations

Parameters
  • path (str) –

  • conn_id (str | None) –

location_type
property paths

Resolve local filepath

Return type

list[str]

property size

Return the size in bytes of the given file.

Returns

File size in bytes

Return type

int