class_docstr: It contains all the information about a Neptune Notebook
  
  Args:
      backend (:class:`~neptune.ApiClient`): A ApiClient object
      project (:class:`~neptune.projects.Project`): Project object
      _id (:obj:`str`): Notebook id
      owner (:obj:`str`): Creator of the notebook is the Notebook owner
  
  Examples:
      .. code:: python3
  
          # Create a notebook in Neptune.
          notebook = project.create_notebook('data_exploration.ipynb')
class_docstr_tok: ["It","contains","all","the","information","about","a","Neptune","Notebook","Args",":","backend","(",":","class",":","`","~neptune.ApiClient","`",")",":","A","ApiClient","object","project","(",":","class",":","`","~neptune.projects.Project","`",")",":","Project","object","_id","(",":","obj",":","`","str","`",")",":","Notebook","id","owner","(",":","obj",":","`","str","`",")",":","Creator","of","the","notebook","is","the","Notebook","owner","Examples",":","..","code",":",":","python3","#","Create","a","notebook","in","Neptune",".","notebook","=","project.create_notebook","(","'data_exploration.ipynb","'",")"]
docstr: Uploads new checkpoint of the notebook to Neptune
  
  Args:
      file_path (:obj:`str`): File path containing notebook contents
  
  Example:
  
      .. code:: python3
  
          # Create a notebook.
          notebook = project.create_notebook('file.ipynb')
  
          # Change content in your notebook & save it
  
          # Upload new checkpoint
          notebook.add_checkpoint('file.ipynb')
docstr_tok: ["Uploads","new","checkpoint","of","the","notebook","to","Neptune","Args",":","file_path","(",":","obj",":","`","str","`",")",":","File","path","containing","notebook","contents","Example",":","..","code",":",":","python3","#","Create","a","notebook",".","notebook","=","project.create_notebook","(","'file.ipynb","'",")","#","Change","content","in","your","notebook","&","save","it","#","Upload","new","checkpoint","notebook.add_checkpoint","(","'file.ipynb","'",")"]
code: def add_checkpoint(self, file_path):
      """Uploads new checkpoint of the notebook to Neptune
  
      Args:
          file_path (:obj:`str`): File path containing notebook contents
  
      Example:
  
          .. code:: python3
  
              # Create a notebook.
              notebook = project.create_notebook('file.ipynb')
  
              # Change content in your notebook & save it
  
              # Upload new checkpoint
              notebook.add_checkpoint('file.ipynb')
      """
      validate_notebook_path(file_path)
  
      with open(file_path) as f:
          return self._backend.create_checkpoint(
              self.id, os.path.abspath(file_path), f
          )
  
file_path: neptune-client/src/neptune/legacy/notebook.py
imports: import os
  from neptune.common.utils import validate_notebook_path
  from neptune.legacy.internal.utils.deprecation import legacy_client_deprecation
label_desc: Use image node_id 4 for calling the Notebook obj's underlying member method code with example usage: obj.add_checkpoint(file_path) and returns: self