Skip to content

TypeError: 'FieldInfo' object does not support item assignment #6

@Sanjeev-SN

Description

@Sanjeev-SN

Getting error when tried to run, ./src/notebooks/01_direct_data_to_volume. Any help on the error/fix is appreciated.

TypeError: 'FieldInfo' object does not support item assignment
File , line 2
1 # Initialize Vault service with settings file
----> 2 vault_service = VaultService(vapil_settings_filepath=settings_file)
4 # Run extraction to volume
5 downloaded_files = extract_direct_data_to_volume(
6 vault_service=vault_service,
7 extract_type=extract_type,
(...)
10 volume_path=VOLUME_PATH
11 )
File ../common/api/request/vault_request.py:266, in VaultRequest._add_param(self, param_type, key, value)
257 def _add_param(self, param_type: _ParamType, key: str, value: Any):
258 # Add a parameter to the request.
259 #
(...)
262 # key (str): The name of the parameter
263 # value (Any): The value of the parameter
265 if param_type == _ParamType.HEADER:
--> 266 self._header_params[key] = value
267 elif param_type == _ParamType.BODY:
268 self._body_params[key] = value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions