Skip to content

Commit

Permalink
improved imports to declutter base namespace
Browse files Browse the repository at this point in the history
module namespaces are still clogged with things like `os` -- for example, `mc.canvas_objects.os`.  The `os` there shouldn't make it out.  But I'm running out of time to work on this.
  • Loading branch information
ofloveandhate committed Jul 19, 2024
1 parent 3601bcd commit 6ba35a2
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions markdown2canvas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,27 +36,30 @@

__version__ = '0.'
__author__ = 'silviana amethyst, Mckenzie West, Allison Beemer'
__all__ = ['logging','exception','translation_functions','canvas2markdown','tool']
__all__ = ['logging','exception','translation_functions','course_interaction_functions',
'CanvasObject', 'Document', 'Page', 'Assignment', 'Image', 'File', 'BareFile', 'Link',
'canvas2markdown','tool']

import markdown2canvas.logging

import markdown2canvas.exception
import markdown2canvas.logging as logging

from .setup_functions import *
import markdown2canvas.exception as exception

from .setup_functions import get_canvas_key_url, make_canvas_api_obj

import markdown2canvas.translation_functions

from .course_interaction_functions import *
import markdown2canvas.translation_functions as translation_functions

import markdown2canvas.course_interaction_functions as course_interaction_functions

################## classes

from .canvas_objects import CanvasObject, Document, Page, Assignment, Image, File, BareFile, Link


import markdown2canvas.canvas2markdown
import markdown2canvas.canvas2markdown as canvas2markdown

import markdown2canvas.tool
import markdown2canvas.tool as tool



0 comments on commit 6ba35a2

Please sign in to comment.