Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8391620
client.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
649 B
Subscribers
None
client.py
View Options
# Copyright (C) 2018-2019 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
from
swh.core.api
import
RPCClient
from
..
import
exc
from
..interface
import
SchedulerInterface
from
.serializers
import
DECODERS
,
ENCODERS
class
RemoteScheduler
(
RPCClient
):
"""Proxy to a remote scheduler API"""
backend_class
=
SchedulerInterface
reraise_exceptions
=
[
getattr
(
exc
,
a
)
for
a
in
exc
.
__all__
]
extra_type_decoders
=
DECODERS
extra_type_encoders
=
ENCODERS
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Jun 4 2025, 6:47 PM (14 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3237645
Attached To
rDSCH Scheduling utilities
Event Timeline
Log In to Comment