Package s3 :: Module s3utils :: Class S3TypeConverter
[frames] | no frames]

Class S3TypeConverter

source code

object --+
         |
        S3TypeConverter

Universal data type converter

Instance Methods

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods
 
convert(cls, a, b)
Convert b into the data type of a
source code
Properties

Inherited from object: __class__

Method Details

convert(cls, a, b)
Class Method

source code 

Convert b into the data type of a

Raises:
  • TypeError - if any of the data types are not supported or the types are incompatible
  • ValueError - if the value conversion fails