Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine Lambert
swh-core
Commits
ec7c3f84
Commit
ec7c3f84
authored
5 years ago
by
David Douard
Browse files
Options
Downloads
Patches
Plain Diff
api: removed deprecated bw-compat classes
aka. SWHServerAPIApp, MetaSWHRemoteAPI and SWHRemoteAPI.
parent
f8580204
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swh/core/api/__init__.py
+0
-19
0 additions, 19 deletions
swh/core/api/__init__.py
with
0 additions
and
19 deletions
swh/core/api/__init__.py
+
0
−
19
View file @
ec7c3f84
...
...
@@ -14,7 +14,6 @@ import datetime
from
typing
import
ClassVar
,
Optional
,
Type
from
deprecated
import
deprecated
from
flask
import
Flask
,
Request
,
Response
,
request
,
abort
from
.serializers
import
(
decode_response
,
encode_data_client
as
encode_data
,
...
...
@@ -335,21 +334,3 @@ class RPCServerApp(Flask):
obj_meth
=
getattr
(
backend_factory
(),
meth_name
)
kw
=
decode_request
(
request
)
return
obj_meth
(
**
kw
)
@deprecated
(
version
=
'
0.0.64
'
,
reason
=
'
Use the RPCServerApp instead
'
)
class
SWHServerAPIApp
(
RPCServerApp
):
pass
@deprecated
(
version
=
'
0.0.64
'
,
reason
=
'
Use the MetaRPCClient instead
'
)
class
MetaSWHRemoteAPI
(
MetaRPCClient
):
pass
@deprecated
(
version
=
'
0.0.64
'
,
reason
=
'
Use the RPCClient instead
'
)
class
SWHRemoteAPI
(
RPCClient
):
pass
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment