Resolve "Allow the user to read description of the shot"
Closes #41 (closed)
Intention
Allow the user of pyCDB to read record description and record type.
Solution
-
This update adds a function
get_record()
which supplied details about the record. -
This update corrects
last_record_number()
which returned -1 even though there was the first record (record 0) in the database. This blockedadd_record()
on an empty database in tests. -
This update enables VSCode to provide list of arguments. It looks like the use of
decorator()
resulted into reporting the function as() -> ((...) -> Any)
.
Test
-
This update was tested through automated tests.
Edited by Ivo Hanák