Skip to content

Commit

Permalink
1. improvin lyting scrore
Browse files Browse the repository at this point in the history
2. added doc
  • Loading branch information
Rohit Negi committed May 12, 2018
1 parent bf0b887 commit 881f3fd
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
11 changes: 6 additions & 5 deletions lamlight/source/db_models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@


class BaseModel(object):
'''
It is an abstract class.It is the base class for all the
db model that will be going to present in the db_models.
This class will serve the purpose of providing the common
'''
It is an abstract class.It is the base class for all the
db model that will be going to present in the db_models.
This class will serve the purpose of providing the common
functionalities.
'''
pass
pass

10 changes: 10 additions & 0 deletions lamlight/source/resources/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
"""
resources
~~~~~~~~~~
Module defines the Base resource class for other resources
"""


import abc

from abc import abstractmethod


class Resource(object):
"""
Base resource class
"""
__metaclass__ = abc.ABCMeta

@abstractmethod
Expand Down
6 changes: 5 additions & 1 deletion lamlight/source/resources/constants.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
#constants for resources
"""
resources.constants
~~~~~~~~~~~~~~~~~~~
Module defines the constants required in resource handling
"""

0 comments on commit 881f3fd

Please sign in to comment.