text: from utils.campus.campus import Campus
  from typing import Iterable
  from utils.sql_fetcher import SqlFetcher
  from modules.create_class.class_ import Class
  import psycopg2.extensions as sql
  
  
  class classes_creator:
  	def __init__(self, conn: sql.connection, sql_fetcher: SqlFetcher):
  		self.conn = conn
  		self.sql_fetcher = sql_fetcher
  
  	async def create_classes(self, year: int) -> Iterable[Class]:
  		classes = [
  			Class(campus, year, self.conn, self.sql_fetcher)
  			for campus in Campus.get_campuses()
  		]
  		for class_ in classes:
  			await class_.add_to_system()
  		return classes
  