diff --git a/README.md b/README.md index e9265e2..e68470e 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Example: from ask_schools import find_school_by_operator_suffix -def check_school_name_equal_toronto(): +def test_check_school_name_equal_toronto(): result = find_school_by_operator_suffix('_tor') assert result == 'Tordonto' ``` diff --git a/ask_schools/__init__.py b/ask_schools/__init__.py index bf27d97..2cfab3c 100644 --- a/ask_schools/__init__.py +++ b/ask_schools/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.3.1" +__version__ = "0.3.3" suffixes = ["york","tor","sp","gue","otech","mac","west","ott","rye","brk","queens","lake","guehum","york.fr","ocad","car","stp.fr","lan","lan.fr","alg","int","int.fr","uoit"] suffixes_school = ["York University","University of Toronto","Scholars-Portal","Guelph University","Ontario Tech","McMaster University","Western University","Ottawa University","Ryerson University","Brock University","Queen's University","Lakehead University","Guelph-Humber University","York University","OCAD University","Carleton University","Saint-Paul University","Laurentian University","Laurentian University","Algoma University","Mentee","Mentee","Ontario Tech University"] @@ -198,6 +198,9 @@ def find_routing_model_by_profile_name(university_name): else: return "FLAT" +def remove_practice_queues(chats_this_day): + res = [chat for chat in chats_this_day if not "practice" in chat.get("queue")] + return res if __name__ == '__main__': pass \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 021d142..ca5ca5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ask_schools" -version = "0.3.1" +version = "0.3.3" description = "Ask Scholars Portal School Name Conversion" authors = ["Guinsly Mondesir "] keywords = ["Ask", "Scholars Portal", "Ontario"]