Author field in header
and meta.store
#
from nbproject import header, meta
If a lamindb
user account was set up, then initialized headers of notebooks will have an author field consisting of user_handle
and user_id
in brackets. Here they are the same.
header()
id | Zv1wV7oM9ztH |
version | 0 |
time_init | 2022-10-09 15:08 |
time_run | 2024-05-08 12:16 |
pypackage | nbproject==0.10.2 |
meta
Metadata object with .live and .store metadata fields:
.store: Wrapper object for the stored metadata:
id='Zv1wV7oM9ztH' version='0' time_init='2022-10-09T15:08:04.997800+00:00' pypackage=None parent=None user_handle='qTQ5q0ar' user_id='qTQ5q0ar' user_name=None
.live: Fields: consecutive_cells pypackage time_passed time_run title user_handle user_id user_name
assert meta.store.user_handle == "qTQ5q0ar"
assert meta.store.user_id == "qTQ5q0ar"