astro.files.locations.http

Module Contents

Classes

HTTPLocation

Handler http location operations

class astro.files.locations.http.HTTPLocation(path, conn_id=None)

Bases: astro.files.locations.base.BaseFileLocation

Handler http location operations

Parameters
  • path (str) –

  • conn_id (str | None) –

location_type
property paths

Resolve patterns in path

Return type

list[str]

property size

Return the size in bytes of the given file

Return type

int