class Enrichment_deleteTag(Resource): """ API enrichment class to mock out an enrichment with namespace """ def __init__(self, api=None, *args, **kwargs): self.api = api self.client = DynamoClient() #@api.response(200, 'Success', enrichment_response_model) #@api.marshal_with(enrichment_response_model) def get(self,pk,sk): """ Enrichment GET """ current_app.logger.info("Enrichment pinged.") return {"message": "This is a GET enrichment."} def post(self): """ Enrichment POST """ current_app.logger.info("Enrichment pinged.") get_resp = self.client.delete_tag(pk,sk) return get_resp
def __init__(self, api=None, *args, **kwargs): self.api = api self.client = DynamoClient()