Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions rolo/asgi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""This module contains code to make ASGI play nice with WSGI."""

import asyncio
import io
import logging
Expand Down
1 change: 1 addition & 0 deletions rolo/dispatcher.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
DEPRECATED: use ``from rolo.routing import handler_dispatcher`` instead
"""

from .routing.handler import ResultValue, handler_dispatcher

__all__ = [
Expand Down
1 change: 1 addition & 0 deletions rolo/gateway/asgi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""This module provides adapter code to expose a ``Gateway`` as an ASGI compatible application."""

import asyncio
import concurrent.futures.thread
from asyncio import AbstractEventLoop
Expand Down
1 change: 1 addition & 0 deletions rolo/gateway/chain.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core concepts of the HandlerChain.
"""

from __future__ import annotations

import logging
Expand Down
1 change: 1 addition & 0 deletions rolo/gateway/handlers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Several gateway handlers"""

import typing as t

from werkzeug.datastructures import Headers, MultiDict
Expand Down
1 change: 1 addition & 0 deletions rolo/gateway/wsgi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""This module contains adapter code that exposes a ``Gateway`` as a WSGI application."""

import typing as t

from werkzeug.datastructures import Headers, MultiDict
Expand Down
1 change: 1 addition & 0 deletions rolo/resource.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
DEPRECATED: use ``from rolo.routing import Resource, resource`` instead
"""

from .routing.resource import Resource, resource

__all__ = [
Expand Down
1 change: 1 addition & 0 deletions rolo/routing/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def on_post(self, request: Request):
router = Router(dispatcher=resource_dispatcher())
router.add(Resource("/foo", Foo())
"""

from typing import Any, Iterable, Optional, Type

from werkzeug.routing import Map, Rule, RuleFactory
Expand Down
1 change: 1 addition & 0 deletions rolo/serving/twisted.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Bindings to serve rolo through Twisted.
"""

import logging
import time
import typing as t
Expand Down
1 change: 1 addition & 0 deletions rolo/testing/pytest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""rolo pytest plugin used both for internal testing and as testing library."""

import asyncio
import dataclasses
import socket
Expand Down
1 change: 1 addition & 0 deletions rolo/websocket/adapter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Adapter API between high-level rolo.websocket.request and an underlying IO frameworks like ASGI or
twisted."""

import dataclasses
import typing as t

Expand Down
1 change: 1 addition & 0 deletions rolo/websocket/websocket.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""TODO: remove with release (just keeping this so localstack doesn't blow up)"""

from .adapter import WebSocketEnvironment, WebSocketListener
from .errors import WebSocketDisconnectedError, WebSocketError, WebSocketProtocolError
from .request import WebSocket, WebSocketRequest
Expand Down
Loading