Skip to content

Commit

Permalink
Remove unused methods from PsycopgResource class.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxachis committed May 25, 2024
1 parent a8b88e0 commit ddc9d26
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions resources/PsycopgResource.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,3 @@ def __init__(self, **kwargs):
- kwargs (dict): Keyword arguments containing 'psycopg2_connection' for database connection.
"""
self.psycopg2_connection = kwargs["psycopg2_connection"]

def get(self):
"""
Base implementation of GET. Override in subclasses as needed.
"""
raise NotImplementedError("This method should be overridden by subclasses")

def post(self):
"""
Base implementation of POST. Override in subclasses as needed.
"""
raise NotImplementedError("This method should be overridden by subclasses")

0 comments on commit ddc9d26

Please sign in to comment.