Module Import alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If CompareIn Str NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str For NameStore SubscriptLoad NameLoad Index Str body If CompareNotIn Str NameLoad body Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotIn Str NameLoad body Raise Call AttributeLoad NameLoad attr Str keyword NameLoad If CompareNotIn Str NameLoad body Raise Call AttributeLoad NameLoad attr Str keyword NameLoad If CompareNotIn Str NameLoad body Raise Call AttributeLoad NameLoad attr Str keyword NameLoad If Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str attr body Raise Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Dict If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Dict Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str keyword NameLoad If CompareIn Str NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad attr If NameLoad body Assign NameStore Call NameLoad BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignSub NameStore NameLoad Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list NameLoad decorator_list
N/A N/A sqlalchemy sa sqlalchemy.dialects postgresql psql nailgun.api.v1.validators.base BasicValidator nailgun.api.v1.validators.json_schema release nailgun consts nailgun.db db nailgun.db.sqlalchemy models nailgun errors ReleaseValidator N/A BasicValidator N/A _validate_common N/A N/A cls d N/A N/A N/A N/A networks_metadata d N/A N/A meta N/A N/A d N/A networks_metadata N/A nova_network N/A network N/A meta N/A networks N/A N/A N/A name network N/A N/A N/A N/A errors InvalidData N/A N/A Invalid network data: {0} format network log_message True N/A classmethod validate N/A N/A cls data N/A N/A N/A d N/A N/A cls validate_json data N/A N/A name d N/A N/A N/A N/A errors InvalidData No release name specified log_message True N/A N/A version d N/A N/A N/A N/A errors InvalidData No release version specified log_message True N/A N/A operating_system d N/A N/A N/A N/A errors InvalidData No release operating system specified log_message True N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Release filter_by name N/A d N/A name version N/A d N/A version first N/A N/A N/A N/A errors AlreadyExists Release with the same name and version already exists log_message True N/A N/A N/A cls _validate_common d N/A N/A networks_metadata d N/A N/A N/A d N/A networks_metadata N/A N/A N/A attributes_metadata d N/A N/A N/A d N/A attributes_metadata N/A N/A d N/A classmethod validate_update N/A N/A cls data instance N/A N/A N/A d N/A N/A cls validate_json data N/A N/A N/A cls _validate_common d N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Release filter_by name N/A N/A d get name N/A instance name version N/A N/A d get version N/A instance version filter N/A N/A sa not_ N/A N/A N/A models Release id N/A instance id first N/A N/A N/A N/A errors AlreadyExists Release with the same name and version already exists log_message True N/A N/A roles_metadata d N/A N/A new_roles N/A set N/A d N/A roles_metadata N/A clusters N/A N/A cluster id N/A cluster N/A instance clusters N/A new_roles_array N/A N/A sa cast N/A N/A psql array new_roles N/A N/A psql ARRAY N/A N/A sa String N/A consts ROLE_NAME_MAX_SIZE N/A node N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models Node filter N/A N/A N/A N/A models Node cluster_id in_ clusters filter N/A N/A sa not_ N/A N/A sa and_ N/A N/A N/A N/A models Node roles contained_by new_roles_array N/A N/A N/A N/A models Node pending_roles contained_by new_roles_array first N/A node N/A N/A used_role N/A set N/A N/A node roles N/A node pending_roles N/A used_role new_roles N/A N/A N/A errors CannotDelete N/A N/A Cannot delete roles already assigned to nodes: {0} format N/A N/A , join used_role N/A d N/A classmethod validate_delete N/A N/A cls data instance N/A N/A N/A N/A instance clusters N/A N/A N/A N/A errors CannotDelete Can't delete release with clusters assigned N/A classmethod N/A ReleaseNetworksValidator N/A BasicValidator N/A validate N/A N/A cls data N/A N/A N/A parsed N/A N/A N/A super ReleaseNetworksValidator cls validate data N/A N/A N/A cls validate_schema parsed N/A parsed N/A classmethod validate_schema N/A N/A cls data N/A N/A N/A N/A N/A N/A super ReleaseNetworksValidator cls validate_schema data N/A release NETWORKS_SCHEMA N/A classmethod N/A