Low-level Functions#

The functions below are likely only of interest if you want to develop new features for this library.

make_stubs#

This module auto-generates source code for the user-level API’s

make_stubs.make_stub_files()[source]#

Queries the definitions of each service and at wslwebservices.leg.wa.gov and creates python stub files

waleg#

This module is the backend for the stub functions

waleg.call(service: str, function: str, argdict: Dict[str, Any], keydict: Dict[str, Any]) Dict[str, Any][source]#

This is the backend to all the stubs

service: str

Which service

function: str

Function request inside service

argdict: Dict

Arguments to the request

keydict: Dict

Dictionary of returned keys and functions to cast the key the correct type (if the correct type for key is something

other than a string).