Unreleased#
Added#
Add
id_translation.logging.EMIT_LOGGED_WARNINGS; set toFalseto disable warnings that are emitted as logs.Add
Format.placeholder_attributesproperty.Add
FetchInstruction.placeholder_attributesproperty +AbstractFetcherhandling.Add SQLAlchemy ORM fetcher example.
Add the
add_skip_file_prefix()function to control warning stack levels.Add
translator_typing.GoOfflineParamstyped dict.Add
ConcurrentOperationWarningand light-weight detection in relevantAbstractFetchermethods. Also added 🧵 notes to docstrings and updated the concurrency call-sites table.Add JSON Schemas for the TOML configuration format (main, auxiliary fetcher, and
metaconf.toml), published to versioned Read the Docs URLs for editor and CI validation.Add
PartialCacheHit; returning it fromCacheAccess.load()makes the fetcher fetch (and cache) only the IDs the cache did not cover, instead of re-fetching the whole request.
Changed#
Links in warnings and exceptions now link to the current version in the docs (instead of the ‘stable’ version).
Raise
DataStructureIOErrorinstead of genericValueErrorinDataStructureIO.get_rank()for unregistered types.Changed translation aborted-warnings.
Add new
TranslationAbortedWarningtype.Emit as
TranslationAbortedWarninginstead ofMappingWarning.No longer emitted as logs.
Fixed#
Fixed exit event keys in
AbstractFetcher.fetch_all()andTranslator.go_offline().SqlFetcherdefers engine creation to the firstinitialize_sources()call, so runtime errors from an overriddencreate_engine()(e.g. a bad slug or unreachable database) surface there rather than at construction.