Module libnova.common.filesystem.S3.Base

Expand source code
#!/usr/bin/env python
# coding: utf-8

import enum


class EventType(enum.Enum):
    """S3 Event Type
    """
    NONE   = 0
    CREATE = 1
    READ   = 2
    RENAME = 3
    UPDATE = 4
    DELETE = 5


class EventFileType(enum.Enum):
    """S3 Event File Type
    """
    NONE   = 0
    FILE   = 1
    FOLDER = 2


if __name__ == "__main__":
    print('This file cannot be executed directly!')

Classes

class EventFileType (value, names=None, *, module=None, qualname=None, type=None, start=1)

S3 Event File Type

Expand source code
class EventFileType(enum.Enum):
    """S3 Event File Type
    """
    NONE   = 0
    FILE   = 1
    FOLDER = 2

Ancestors

  • enum.Enum

Class variables

var FILE
var FOLDER
var NONE
class EventType (value, names=None, *, module=None, qualname=None, type=None, start=1)

S3 Event Type

Expand source code
class EventType(enum.Enum):
    """S3 Event Type
    """
    NONE   = 0
    CREATE = 1
    READ   = 2
    RENAME = 3
    UPDATE = 4
    DELETE = 5

Ancestors

  • enum.Enum

Class variables

var CREATE
var DELETE
var NONE
var READ
var RENAME
var UPDATE