Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad attr keyword NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Continue orelse Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A json django.conf settings django.core.management BaseCommand django.utils timezone django.utils.dateparse parse_datetime django.utils.translation ugettext_lazy onadata.apps.logger.models Instance Command N/A BaseCommand N/A N/A help N/A ugettext_lazy Fixes deleted instances by syncing deleted items from mongo. handle N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A N/A Instance objects exclude deleted_at None xform__downloadable True update deleted_at None N/A query {"$and": [{"_deleted_at": {"$exists": true}}, {"_deleted_at": {"$ne": null}}]} N/A query N/A N/A json loads query N/A xform_instances N/A N/A settings MONGO_DB instances N/A cursor N/A N/A xform_instances find query N/A record cursor N/A N/A N/A N/A i N/A N/A N/A Instance objects get uuid N/A record N/A _uuid xform__downloadable True N/A N/A N/A N/A Instance DoesNotExist N/A N/A N/A N/A deleted_at N/A parse_datetime N/A record N/A _deleted_at N/A N/A N/A N/A timezone is_aware deleted_at N/A N/A deleted_at N/A N/A timezone make_aware deleted_at N/A timezone utc N/A N/A N/A i set_deleted deleted_at N/A N/A