Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def filter_set(cls):
return FilterSet(min_id = NumberFilter( info="Minimum id of the product" ),
max_id = NumberFilter( info="Minimum id of the product" ),
sku = StringFilter(),
upc = StringFilter(),
min_inventory_level = NumberFilter(),
max_inventory_level = NumberFilter(),
inventory_warning_level = NumberFilter(),
bin_picking_number = NumberFilter(),
)
def filter_set(cls):
return FilterSet(min_id = NumberFilter( info="Minimum id of the product" ),
max_id = NumberFilter( info="Minimum id of the product" ),
name = StringFilter( info="The product name" ),
sku = StringFilter(),
description = StringFilter(),
condition = StringFilter(),
availability = StringFilter(),
brand_id = NumberFilter(),
min_date_created = DateFilter(),
max_date_created = DateFilter(),
min_date_modified = DateFilter(),
max_date_modified = DateFilter(),
min_date_last_imported = DateFilter(),
max_date_last_imported = DateFilter(),
min_inventory_level = NumberFilter(),
max_inventory_level = NumberFilter(),
is_visible = BoolFilter(),
def filter_set(cls):
return FilterSet(name = StringFilter(),
display_name = StringFilter(),
type = StringFilter(),
)
def filter_set(cls):
return FilterSet(country = StringFilter(),
country_iso2 = StringFilter(),
country_iso3 = StringFilter(),
)
def filter_set(cls):
return FilterSet(min_id = NumberFilter( info="Minimum id of the product" ),
max_id = NumberFilter( info="Minimum id of the product" ),
first_name = StringFilter(),
last_name = StringFilter(),
company = StringFilter(),
email = StringFilter(),
phone = StringFilter(),
store_credit = NumberFilter(),
customer_group_id = NumberFilter(),
min_date_created = DateFilter(),
max_date_created = DateFilter()
)
def filter_set(cls):
return FilterSet(min_id = NumberFilter( info="Minimum id of the product" ),
max_id = NumberFilter( info="Minimum id of the product" ),
name = StringFilter(),
parent_id = NumberFilter(),
is_visible = BoolFilter(),
)
def filter_set(cls):
return FilterSet(state = StringFilter(),
state_abbreviations = StringFilter()
)
def filter_set(cls):
return FilterSet(min_id = NumberFilter(info="The minimum id of the order."),
max_id = NumberFilter(info="The maximum id of the order."),
min_total = NumberFilter(info="The minimum total for the order."),
max_total = NumberFilter(info="The maximum total for the order."),
customer_id = NumberFilter(info="Filter orders by customers."),
status_id = NumberFilter(info="Filter orders by the order status."),
is_deleted = BoolFilter(info="Filter orders by the deleted flag."),
payment_method = StringFilter(info="Filter orders by payment method."),
min_date_created = DateFilter(info="Retrieve all orders created after a specified date."),
max_date_created = DateFilter()
)