-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
28 lines (22 loc) · 801 Bytes
/
Copy pathmain.py
File metadata and controls
28 lines (22 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import graphene
from utils.ws import run, register_service
from ebay.schema import QueryEbay
from prestashop.prestashop_service import QueryPrestashop
from shipment.schema import QueryShipment
from google.schema import QueryGoogle
from cbcservice.cbc_categories_service import category_service
from cbcservice.cbc_manufacturers_service import manufacturers_service
from cbcservice.cbc_products_service import products_service
from cbcservice.cbc_combinations_service import combinations_service
register_service(category_service)
register_service(manufacturers_service)
register_service(products_service)
register_service(combinations_service)
class Query(
QueryEbay,
QueryPrestashop,
QueryShipment,
QueryGoogle,
graphene.ObjectType):
pass
run(Query)