summaryrefslogtreecommitdiff
path: root/python/typearchive.py
AgeCommit message (Collapse)Author
2026-04-15[Python API] Replace bare "except:" with "except Exception:" to fix signal ↵Josh Ferrell
propagation
2026-01-18fix syntax for note section of newly added api docsJordan Wiens
2026-01-16fix pydoc formatting for recent metadata API changesJordan Wiens
2026-01-16Add get_metadata() method and make query_metadata() raise KeyError consistentlyPeter LaFosse
Introduces a Pythonic get_metadata() method to BinaryView, Function, Project, TypeArchive, and TypeLibrary classes. This method behaves like dict.get(), returning a default value (None by default) when a key doesn't exist, instead of raising a KeyError. Additionally, updates query_metadata() in TypeArchive and TypeLibrary to raise KeyError when a key is not found, making them consistent with BinaryView, Function, and Project. Previously these two classes returned None on missing keys. This breaking change is documented in the method docstrings. This provides a more consistent and Pythonic API for querying metadata across all metadata-supporting classes. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-01update copyrights for 2026Jordan Wiens
2025-08-01Use log_error_for_exception in the Python API to pass tracebacks in the ↵Rusty Wagner
stack trace associated with log messages, instead of creating large mutli-line messages for every exception
2025-03-28missed the older dates!Jordan Wiens
2024-08-04spellcheck pass on pydocsJordan Wiens
2024-07-12Prevent crash when trying to rename unknown type in typearchiveJosh Ferrell
2024-06-04Add CorePlatform to python api for proper subclassingGlenn Smith
2024-04-19fixed class docstrings in enterprise.py and typearchive.pyGalen Williamson
2024-04-19docstring hygiene maintenance in python APIGalen Williamson
2024-02-19Type archive python api: remove callbacks that were dropped from releaseGlenn Smith
2024-02-19Clean up type archives docsGlenn Smith
2024-02-12Fix import name, update copyright yearsJosh Ferrell
2024-02-07Type ArchivesGlenn Smith