##// END OF EJS Templates
dependencies: bumped few libraries....
dependencies: bumped few libraries. - atomicwrites==1.2.1 - attrs==18.2.0 - dogpile.cache==0.6.7 - psutil==5.4.7 - pathlib2==2.3.2 - subprocess32==3.5.2 - gevent==1.3.6 - greenlet==0.4.15 - pytest==3.8.1 - py==1.6.0 - pytest-cov==2.6.0 - pytest-timeout==1.3.2 - coverage==4.5.1 - psycopg2==2.7.5

File last commit:

r2205:dd780472 default
r3096:5e20ef75 default
Show More
api.rst
58 lines | 1.2 KiB | text/x-rst | RstLexer

CONTRIBUTING TO API

Naming conventions

We keep the calls in the form {verb}_{noun}.

Change and Deprecation

API deprecation is documented in the section deprecated together with other notes about deprecated parts of the application.

Deprecated API calls

  • Use deprecated inside of the call docstring to make our users aware of the deprecation:

    .. deprecated:: 1.2.3
    
       Use `new_call_name` instead to fetch this information.
    
  • Make sure to log on level logging.WARNING a message that the API call or specific parameters are deprecated.

  • If possible return deprecation information inside of the result from the API call. Use the attribute _warning_ to contain a message.

Changed API calls

  • If the change is significant, consider to use versionchanged in the docstring:

    .. versionchanged:: 1.2.3
    
       Optional explanation if reasonable.
    

Added API calls

  • Use versionadded to document since which version this API call is available:

    .. versionadded:: 1.2.3
    
       Optional explanation if reasonable.