docstr: Uploads the provided file under the specified field path.
  
  Args:
      value (str or File): Path to the file to be uploaded or `File` value object.
      wait (bool, optional): If `True` the client will wait to send all tracked metadata to the server.
          This makes the call synchronous.
          Defaults to `False`.
  
  Examples:
      >>> import neptune
      >>> run = neptune.init_run()
  
      >>> # Upload example data
      ... run["dataset/data_sample"].upload("sample_data.csv")
  
      >>> # Both the content and the extension is stored
      ... # When downloaded the filename is a combination of path and the extension
      ... run["dataset/data_sample"].download() # data_sample.csv
  
      Explicitly create File value object
  
      >>> from neptune.types import File
      >>> run["dataset/data_sample"].upload(File("sample_data.csv"))
  
  For more information, see the docs:
     https://docs.neptune.ai/api/field_types#upload
docstr_tok: ["Uploads","the","provided","file","under","the","specified","field","path",".","Args",":","value","(","str","or","File",")",":","Path","to","the","file","to","be","uploaded","or","`","File","`","value","object",".","wait","(","bool",",","optional",")",":","If","`","True","`","the","client","will","wait","to","send","all","tracked","metadata","to","the","server",".","This","makes","the","call","synchronous",".","Defaults","to","`","False","`",".","Examples",":",">",">",">","import","neptune",">",">",">","run","=","neptune.init_run","(",")",">",">",">","#","Upload","example","data","...","run","[","``","dataset\/data_sample","''","]",".upload","(","``","sample_data.csv","''",")",">",">",">","#","Both","the","content","and","the","extension","is","stored","...","#","When","downloaded","the","filename","is","a","combination","of","path","and","the","extension","...","run","[","``","dataset\/data_sample","''","]",".download","(",")","#","data_sample.csv","Explicitly","create","File","value","object",">",">",">","from","neptune.types","import","File",">",">",">","run","[","``","dataset\/data_sample","''","]",".upload","(","File","(","``","sample_data.csv","''",")",")","For","more","information",",","see","the","docs",":","https",":","\/\/docs.neptune.ai\/api\/field_types","#","upload"]
code: def upload(self, value, *, wait: bool = False) -> None:
      """Uploads the provided file under the specified field path.
  
      Args:
          value (str or File): Path to the file to be uploaded or `File` value object.
          wait (bool, optional): If `True` the client will wait to send all tracked metadata to the server.
              This makes the call synchronous.
              Defaults to `False`.
  
      Examples:
          >>> import neptune
          >>> run = neptune.init_run()
  
          >>> # Upload example data
          ... run["dataset/data_sample"].upload("sample_data.csv")
  
          >>> # Both the content and the extension is stored
          ... # When downloaded the filename is a combination of path and the extension
          ... run["dataset/data_sample"].download() # data_sample.csv
  
          Explicitly create File value object
  
          >>> from neptune.types import File
          >>> run["dataset/data_sample"].upload(File("sample_data.csv"))
  
      For more information, see the docs:
         https://docs.neptune.ai/api/field_types#upload
  
      """
      value = FileVal.create_from(value)
  
      with self._container.lock():
          attr = self._container.get_attribute(self._path)
          if attr is None:
              attr = File(self._container, parse_path(self._path))
              self._container.set_attribute(self._path, attr)
          attr.upload(value, wait=wait)
  
imports: from functools import wraps
  from typing import TYPE_CHECKING, Any, Collection, Dict, Iterable, Iterator, List, NewType, Optional, Union
  from neptune.api.dtos import FileEntry
  from neptune.attributes import File
  from neptune.attributes.atoms.artifact import Artifact
  from neptune.attributes.constants import SYSTEM_STAGE_ATTRIBUTE_PATH
  from neptune.attributes.file_set import FileSet
  from neptune.attributes.namespace import Namespace
  from neptune.attributes.series import FileSeries
  from neptune.attributes.series.float_series import FloatSeries
  from neptune.attributes.series.string_series import StringSeries
  from neptune.attributes.sets.string_set import StringSet
  from neptune.common.warnings import warn_about_unsupported_type
  from neptune.exceptions import MissingFieldException, NeptuneCannotChangeStageManually, NeptuneUserApiInputException
  from neptune.internal.artifacts.types import ArtifactFileData
  from neptune.internal.types.stringify_value import StringifyValue
  from neptune.internal.utils import is_collection, is_dict_like, is_float, is_float_like, is_string, is_stringify_value, verify_collection_type, verify_type
  from neptune.internal.utils.paths import join_paths, parse_path
  from neptune.internal.value_to_attribute_visitor import ValueToAttributeVisitor
  from neptune.metadata_containers.abstract import SupportsNamespaces
  from neptune.types.atoms.file import File
  from neptune.types.type_casting import cast_value_for_extend
  from neptune.types.value_copy import ValueCopy
  from neptune.utils import stringify_unsupported
label_desc: Use image node_id 11 for calling the Handler obj's underlying member method code with example usage: obj.upload(value) without return types