Commit 979fdf6c authored by hrishikesh.r's avatar hrishikesh.r

modified changes to Oee_handlers.py

parent 7f43abce
...@@ -18,9 +18,6 @@ async def oee_tag_mapping(oee_tag_mapping_list: GetOeeServices): ...@@ -18,9 +18,6 @@ async def oee_tag_mapping(oee_tag_mapping_list: GetOeeServices):
raise logger.exception("Exception occurred while inserting data") raise logger.exception("Exception occurred while inserting data")
@oee_services.post(Endpoints.oee_services) @oee_services.post(Endpoints.oee_services)
async def get_oee_tag_mapping(get_oee_tags: GetOeeServices): async def get_oee_tag_mapping(get_oee_tags: GetOeeServices):
try: try:
...@@ -32,7 +29,6 @@ async def get_oee_tag_mapping(get_oee_tags: GetOeeServices): ...@@ -32,7 +29,6 @@ async def get_oee_tag_mapping(get_oee_tags: GetOeeServices):
raise logger.exception(f"Error while getting information as {e}") raise logger.exception(f"Error while getting information as {e}")
@oee_services.post(Endpoints.oee_services) @oee_services.post(Endpoints.oee_services)
async def delete_oee_tagging(delete_oee_tags: GetOeeServices): async def delete_oee_tagging(delete_oee_tags: GetOeeServices):
try: try:
...@@ -44,8 +40,6 @@ async def delete_oee_tagging(delete_oee_tags: GetOeeServices): ...@@ -44,8 +40,6 @@ async def delete_oee_tagging(delete_oee_tags: GetOeeServices):
raise logger.exception(f"Error while getting information as {e}") raise logger.exception(f"Error while getting information as {e}")
@oee_services.post(Endpoints.oee_services) @oee_services.post(Endpoints.oee_services)
async def update_oee_tagging(update_oee_tags: GetOeeServices): async def update_oee_tagging(update_oee_tags: GetOeeServices):
try: try:
...@@ -55,5 +49,3 @@ async def update_oee_tagging(update_oee_tags: GetOeeServices): ...@@ -55,5 +49,3 @@ async def update_oee_tagging(update_oee_tags: GetOeeServices):
except Exception as e: except Exception as e:
raise logger.exception(f"Error while getting information as {e}") raise logger.exception(f"Error while getting information as {e}")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment