Skip to content

Latest commit

 

History

37 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ace Data Cloud Scaffold

Install:

pip install acedatacloud-scaffold

Sample:

from acedatacloud_scaffold import BaseController as Controller
from acedatacloud_scaffold import BaseHandler
import json


class Handler(BaseHandler):

    async def get(self, id=None):
        result = {
            'value': id
        }
        self.write(json.dumps(result))


controller = Controller()
controller.add_handler(r'/test/(.*)', Handler)

controller.start()

Forwarding logs retain the handler's trace context, request method, response status, and aggregate response byte/chunk counts. Request URLs, parameters, headers, bodies, response headers, and individual response chunks are not logged. Forwarded data and headers are unchanged. The response summary is emitted only after the stream completes; interrupted streams still propagate their error.

About

Python project scaffold template with packaging, testing, typing, and CI best practices.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages