Skip to content

Commit

Permalink
Merge pull request #365 from NashMiao/master
Browse files Browse the repository at this point in the history
add property
  • Loading branch information
NashMiao authored Jun 21, 2019
2 parents 41dee39 + 32a1bfe commit c9006d4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions ontology/contract/neo/invoke_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ def __init__(self, func_name: str, parameters: list = None, return_type: str = '
self.__parameters = parameters
self.__return_type = return_type

@property
def func_name(self):
return self.__func_name

@property
def parameters(self):
return self.__parameters

@property
def return_type(self):
return self.__return_type

def set_params_value(self, *params):
if len(self.__parameters) != 0:
self.__parameters = list()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

setup(
name='ontology-python-sdk',
version='2.0.4',
version='2.0.5',
description='Comprehensive Python library for the Ontology BlockChain.',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit c9006d4

Please sign in to comment.