PathProperties Class

Path properties listed by get_paths api.

Inheritance
azure.storage.filedatalake._shared.models.DictMixin
PathProperties

Constructor

PathProperties(**kwargs)

Variables

Name Description
name
str

The full path for a file or directory.

owner
str

The owner of the file or directory.

group
str

The owning group of the file or directory.

permissions
str

The permissions that are set for user, group, and other on the file or directory. Each individual permission is in [r,w,x,-]{3} format.

last_modified

A datetime object representing the last time the directory/file was modified.

is_directory

Is the path a directory or not.

etag
str

The ETag contains a value that you can use to perform operations conditionally.

content_length
int

The size of file if the path is a file.

creation_time

The creation time of the file/directory.

expiry_time

The expiry time of the file/directory.

encryption_scope
str

A predefined encryption scope used to encrypt the data on the service. An encryption scope can be created using the Management API and referenced here by name. If a default encryption scope has been defined at the file system, this value will override it if the file system level scope is configured to allow overrides. Otherwise an error will be raised.

encryption_context
str

Specifies the encryption context to set on the file.

Methods

get
has_key
items
keys
update
values

get

get(key, default=None)

Parameters

Name Description
key
Required
default
default value: None

has_key

has_key(k)

Parameters

Name Description
k
Required

items

items()

keys

keys()

update

update(*args, **kwargs)

values

values()