Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added autoloading instances from a directory #155

Merged
merged 2 commits into from
Jun 2, 2018

Conversation

josephmancuso
Copy link
Member

@josephmancuso josephmancuso commented May 28, 2018

added autoloading of instances.

This looks like:

from scheduler.task import Task

classes = Autoload().instances(Task) # dictionary of classes from that directory
  • Documentation

@coveralls
Copy link

coveralls commented May 28, 2018

Coverage Status

Coverage increased (+0.01%) to 88.758% when pulling 8612418 on update-autoload-with-instances into e985a7e on develop.

@josephmancuso josephmancuso added the next major Issue scheduled for the next major release label May 28, 2018
@josephmancuso josephmancuso self-assigned this Jun 2, 2018
@josephmancuso josephmancuso added this to the Masonite 2.0 milestone Jun 2, 2018
@josephmancuso josephmancuso merged commit b787ba1 into develop Jun 2, 2018
@josephmancuso josephmancuso deleted the update-autoload-with-instances branch June 8, 2018 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next major Issue scheduled for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants