RemoteFileMetadata#

class langchain_azure_dynamic_sessions.tools.sessions.RemoteFileMetadata(filename: str, size_in_bytes: int)[source]#

Metadata for a file in the session.

Attributes

full_path

Get the full path of the file.

Methods

__init__(filename, size_in_bytes)

from_dict(data)

Create a RemoteFileMetadata object from a dictionary.

Parameters:
  • filename (str) –

  • size_in_bytes (int) –

__init__(filename: str, size_in_bytes: int) → None#
Parameters:
  • filename (str) –

  • size_in_bytes (int) –

Return type:

None

static from_dict(data: dict) → RemoteFileMetadata[source]#

Create a RemoteFileMetadata object from a dictionary.

Parameters:

data (dict) –

Return type:

RemoteFileMetadata