Clueless-Community / collegeAPI

An API that helps you to fetch colleges and their details.
GNU General Public License v3.0
58 stars 61 forks source link

Refactored main.py and filters.py and added dependencies #174

Closed Param302 closed 1 year ago

Param302 commented 1 year ago

Description

Dependencies

aiofiles==22.1.0

autopep8==2.0.1

Refactored

main.py

filters.py

class InvalidFieldPassedError(ValueError):
    """
    Exception class to raise if invalid field passed.
    """
class InvalidRegionPassedError(ValueError):
    """
    Exception class to raise if invalid field passed.
    """

data directory


Issue Ticket Number

Fixes **Refactor the codebase #171


Type of change


Checklist: