Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9344457
tasks.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
615 B
Subscribers
None
tasks.py
View Options
# Copyright (C) 2022 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
celery
import
shared_task
from
swh.lister.nuget.lister
import
NugetLister
@shared_task
(
name
=
__name__
+
".NugetListerTask"
)
def
list_nuget
(
**
lister_args
):
"""Lister task for Nuget (Javascript package manager) registry"""
return
NugetLister
.
from_configfile
(
**
lister_args
)
.
run
()
.
dict
()
@shared_task
(
name
=
__name__
+
".ping"
)
def
_ping
():
return
"OK"
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Fri, Jul 4, 2:28 PM (2 d, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3240092
Attached To
rDLS Listers
Event Timeline
Log In to Comment