Integration for insertion and extraction of IDs and translations to and from various data structures.
Functions
|
Get an IO instance for arg. |
Classes
Insertion and extraction of IDs and translations. |
Bases: object
Insertion and extraction of IDs and translations.
Return True if the implementation handles data for the type of arg.
Extract IDs from c.
c – A collection to extract IDs from.
names – List of names to extract IDs for.
A dict {name, ids}.
Insert translations into c.
c – A collection apply translations for. Modified iff copy=False.
names – Names in t to translate..
tmap – Translations for IDs in c.
copy – If True, modify contents of the original collection c. Otherwise, return a copy.
A copy of c if copy=True. None otherwise.
NotInplaceTranslatableError – If copy=False for a type which is not translatable in-place.
Get an IO instance for arg.
arg – An argument to get IO for.
A data structure IO instance for arg.
UntranslatableTypeError – If not IO could be found.
Modules
Data structure I exceptions. |