Sieve home pagelogo
  • Dashboard
  • Create a new account
  1. SDK Reference
  2. sieve.File
  • Documentation
  • Community
  • Book a Demo
  • Guide
    • Introduction
    • Quickstart
    • Running a Template Workflow
    • Deploying a Custom Workflow
    • Using Existing Building Blocks
  • API Reference
    • Introduction
    • Push Data
    • Get Job
    • List Jobs
    • Get Workflow
    • Delete Workflow
    • List Workflows
    • Get Model
    • List Models
  • CLI Reference
    • Introduction
    • sieve workflow
    • sieve model
    • sieve job
    • sieve push
    • sieve deploy
  • SDK Reference
    • Introduction
    • sieve.function
    • sieve.Model
    • sieve.reference
    • sieve.workflow
    • sieve.Struct
    • sieve.File
    • sieve.Array
    • sieve.Video
    • sieve.Image
    • sieve.Audio
  • Errors
    • Error Codes

SDK Reference

sieve.File

class File(sieve.Struct):

A type that represents a file.

​
Arguments

  • url (str): The URL of the file to download.
  • path (str): The local path to the file.

​
path

@property
def path(self) -> str:

The local path to the file.

sieve.Structsieve.Array
Powered by Mintlify
websiteslack
  • Arguments
  • path