Buckets:

download
raw
563 Bytes
from py_ocpi import get_application
from py_ocpi.core import enums
from py_ocpi.modules.versions.enums import VersionNumber
from tests.test_modules.utils import ClientAuthenticator
def test_get_application():
class Crud:
...
class Adapter:
...
app = get_application(
version_numbers=[VersionNumber.v_2_2_1],
roles=[enums.RoleEnum.cpo],
crud=Crud,
modules=[],
adapter=Adapter,
authenticator=ClientAuthenticator,
)
assert app.url_path_for("get_versions") == "/ocpi/versions"

Xet Storage Details

Size:
563 Bytes
·
Xet hash:
daa17205665a918a95a747c83dfc3f9b433c31fe386d696dd5a45a5231c5f30f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.