Codelists are managed in multiple different manners, leading to the categorisations Embedded and Non-Embedded. It is not currently possible to differentiate between Codelists that are manged in different manners in a clear and obvious manner.
It should be possible throughout pyIATI to obtain and differentiate between types of Codelists as appropriate.
[ ] Add an attribute to the Codelist class to detail the management status (as noted in #166)
[ ] Resources
[ ] Determine whether the codelists_non_embedded/ resource folder should be renamed to version_independent/codelists/ (and if so, change it!)
[ ] Make iati.resources.get_codelist_paths(iati.version.STANDARD_VERSION_ANY) return a list of Non-Embedded Codelist paths
[ ] Add way to get just Embedded Codelist paths (either a flag to get_codelist_paths(), or a distinct function)
[ ] Default
[ ] Make iati.default.codelists(iati.version.STANDARD_VERSION_ANY) return only Non-Embedded Codelists
[ ] Add way to get just Embedded Codelists (either a flag to codelists(), or a distinct function)
[ ] Embedded / Non-Embedded / Replicated
[ ] Determine whether any changes are required to distinguish between 3 different management strategies (Minor / Major / All)
Codelists are managed in multiple different manners, leading to the categorisations
Embedded
andNon-Embedded
. It is not currently possible to differentiate between Codelists that are manged in different manners in a clear and obvious manner.It should be possible throughout pyIATI to obtain and differentiate between types of Codelists as appropriate.
Codelist
class to detail the management status (as noted in #166)codelists_non_embedded/
resource folder should be renamed toversion_independent/codelists/
(and if so, change it!)iati.resources.get_codelist_paths(iati.version.STANDARD_VERSION_ANY)
return a list of Non-Embedded Codelist pathsget_codelist_paths()
, or a distinct function)iati.default.codelists(iati.version.STANDARD_VERSION_ANY)
return only Non-Embedded Codelistscodelists()
, or a distinct function)