Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9696977
app.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
341 B
Subscribers
None
app.py
View Options
from
ariadne
import
load_schema_from_path
,
make_executable_schema
,
gql
from
ariadne.asgi
import
GraphQL
from
.resolvers
import
origin
,
query
type_defs
=
gql
(
load_schema_from_path
(
"swh/graphql/schema/schema.graphql"
))
schema
=
make_executable_schema
(
type_defs
,
query
,
origin
.
origin
,
origin
.
originSearch
)
app
=
GraphQL
(
schema
,
debug
=
True
)
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Mon, Aug 18, 10:19 PM (4 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3314181
Attached To
rDGQL GraphQL API
Event Timeline
Log In to Comment