cctools
ndcctools.taskvine.file.File Class Reference
Inheritance diagram for ndcctools.taskvine.file.File:

Public Member Functions

def contents (self)
 Return the contents of a file object as a string. More...
 
def __len__ (self)
 Return the size of a file object, in bytes. More...
 

Detailed Description

TaskVine File Object

The superclass of all TaskVine file types.

Member Function Documentation

◆ contents()

def ndcctools.taskvine.file.File.contents (   self)

Return the contents of a file object as a string.

Typically used to return the contents of an output buffer.

Parameters
selfA file object.

◆ __len__()

def ndcctools.taskvine.file.File.__len__ (   self)

Return the size of a file object, in bytes.

Parameters
selfA file object.

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