docstr: Assigns the provided value to the field.
  
  Available for the following field types:
      * `Integer`
      * `Float`
      * `Boolean`
      * `String`
  
  Args:
      value: Value to be stored in a field.
      wait (bool, optional): If `True` the client will wait to send all tracked metadata to the server.
          This makes the call synchronous.
          Defaults to `None`.
  
  Examples:
      Assigning values:
  
      >>> import neptune
      >>> run = neptune.init_run()
  
      >>> # You can use both the Python assign operator (=)
      ... run['parameters/max_epochs'] = 5
      >>> # as well as directly use the .assign method
      ... run['parameters/max_epochs'].assign(5)
  
      You can assign integers, floats, bools, strings
  
      >>> run['parameters/max_epochs'] = 5
      >>> run['parameters/max_lr'] = 0.4
      >>> run['parameters/early_stopping'] = True
      >>> run['JIRA'] = 'NPT-952'
  
      You can also assign values in batch through a dict
  
      >>> params = {'max_epochs': 5, 'lr': 0.4}
      >>> run['parameters'] = params
  
  For more information, see the docs:
     https://docs.neptune.ai/api-reference/field-types
docstr_tok: ["Assigns","the","provided","value","to","the","field",".","Available","for","the","following","field","types",":","*","`","Integer","`","*","`","Float","`","*","`","Boolean","`","*","`","String","`","Args",":","value",":","Value","to","be","stored","in","a","field",".","wait","(","bool",",","optional",")",":","If","`","True","`","the","client","will","wait","to","send","all","tracked","metadata","to","the","server",".","This","makes","the","call","synchronous",".","Defaults","to","`","None","`",".","Examples",":","Assigning","values",":",">",">",">","import","neptune",">",">",">","run","=","neptune.init_run","(",")",">",">",">","#","You","can","use","both","the","Python","assign","operator","(","=",")","...","run","[","'parameters\/max_epochs","'","]","=","5",">",">",">","#","as","well","as","directly","use","the",".assign","method","...","run","[","'parameters\/max_epochs","'","]",".assign","(","5",")","You","can","assign","integers",",","floats",",","bools",",","strings",">",">",">","run","[","'parameters\/max_epochs","'","]","=","5",">",">",">","run","[","'parameters\/max_lr","'","]","=","0.4",">",">",">","run","[","'parameters\/early_stopping","'","]","=","True",">",">",">","run","[","'JIRA","'","]","=","'NPT-952'","You","can","also","assign","values","in","batch","through","a","dict",">",">",">","params","=","{","'max_epochs","'",":","5",",","'lr","'",":","0.4","}",">",">",">","run","[","'parameters","'","]","=","params","For","more","information",",","see","the","docs",":","https",":","\/\/docs.neptune.ai\/api-reference\/field-types"]
code: def assign(self, value, *, wait: bool = False) -> None:
      """Assigns the provided value to the field.
  
      Available for the following field types:
          * `Integer`
          * `Float`
          * `Boolean`
          * `String`
  
      Args:
          value: Value to be stored in a field.
          wait (bool, optional): If `True` the client will wait to send all tracked metadata to the server.
              This makes the call synchronous.
              Defaults to `None`.
  
      Examples:
          Assigning values:
  
          >>> import neptune
          >>> run = neptune.init_run()
  
          >>> # You can use both the Python assign operator (=)
          ... run['parameters/max_epochs'] = 5
          >>> # as well as directly use the .assign method
          ... run['parameters/max_epochs'].assign(5)
  
          You can assign integers, floats, bools, strings
  
          >>> run['parameters/max_epochs'] = 5
          >>> run['parameters/max_lr'] = 0.4
          >>> run['parameters/early_stopping'] = True
          >>> run['JIRA'] = 'NPT-952'
  
          You can also assign values in batch through a dict
  
          >>> params = {'max_epochs': 5, 'lr': 0.4}
          >>> run['parameters'] = params
  
      For more information, see the docs:
         https://docs.neptune.ai/api-reference/field-types
      """
      with self._container.lock():
          attr = self._container.get_attribute(self._path)
          if attr is None:
              self._container.define(self._path, value)
          else:
              if isinstance(value, Handler):
                  value = ValueCopy(value)
              attr.process_assignment(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 10 for calling the Handler obj's underlying member method code with example usage: obj.assign(value) without return types