Added RPCExcpetion if trades is empty on trade.query
api_server
Return e on exception created server 500 error.
Returned text for client, and sent e to logger
Added profit and status table functions.
Will look to add unit tests for these two
common file.
This is to reduce file size and separate api server routes with
privilege to access rpc.rpc defs and those that do not need access,
so should not.
This will stop the running app gracefully - processing current api calls
then shutting the werkzueg (run) listening server.
Have also called this from the cleanup placeholder.
I'm not sure this is what is intended by cleanup def.
By which I mean there may be a thread left running with no app within -
not sure how to check this just yet.
tidied excessive logging.
This will stop the running app gracefully - processing current api calls
then shutting the werkzueg (run) listening server.
Have also called this from the cleanup placeholder.
I'm not sure this is what is intended by cleanup def.
By which I mean there may be a thread left running with no app within -
not sure how to check this just yet.
tidied excessive logging.
and into their own
Added 404 handling
Split registration of URLs that use rpc.rpc and others into
own def. Seems logical to be able to register separately for later use.
This has the benefit of creating a label which may be helpful if later
refactoring.
This change misses the main thrust of requests from both Gcarq and Shusso to
better layout the code
Im running into a challenge with 'self' not being available, or able to be
passed in either to decorators or view_func
This may simply be how I've instantiated an RPC in the wuperwrap or im within a thread
- my very limited exposure to programming is at play! After moving code around
lots of ways to no success and google not being helpful im committing for further feeback