Skip to content

Commit

Permalink
added doc strings to methods that need to be implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollman committed Jan 3, 2018
1 parent 27d2035 commit cebfc58
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions argschema/sources/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def get_config(ConfigSchema, d):

class ArgSource(ConfigurableSource):
def get_dict(self):
"""method that must be implemented to enable an ArgSource to return a dictionary"""
pass


Expand Down Expand Up @@ -143,4 +144,11 @@ def get_input_from_config(ArgSource, config_d):

class ArgSink(ConfigurableSource):
def put_dict(self, d):
"""method that must be implemented to enable an ArgSink to write a dictionary
Parameters
----------
d: dict
the dictionary to write
"""
pass

0 comments on commit cebfc58

Please sign in to comment.