mirror of
https://github.com/BillyOutlast/OF-Scraper.git
synced 2026-07-01 12:17:25 -04:00
10 lines
398 B
Python
Executable File
10 lines
398 B
Python
Executable File
from ofscraper.classes.table.inputs.filterinput import FilterInput
|
|
|
|
|
|
class PostiveIntegerInput(FilterInput):
|
|
def __init__(self, *args, **kwargs):
|
|
super().__init__(*args, type="integer",restrict="^(?!0+$)\d*$",valid_empty=True, **kwargs)
|
|
class IntegerInput(FilterInput):
|
|
def __init__(self, *args, **kwargs):
|
|
super().__init__(*args, type="integer",valid_empty=True, **kwargs)
|