1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

add API docs examples

This commit is contained in:
checktheroads
2020-02-03 02:34:50 -07:00
parent 0ca5bc0ff6
commit 7ff8fa317d
16 changed files with 273 additions and 187 deletions

View File

@@ -1,15 +1,14 @@
"""Input validation functions for submitted queries."""
# Standard Library Imports
import operator
# Standard Library
import re
import operator
from ipaddress import ip_network
# Project Imports
from hyperglass.configuration import params
from hyperglass.exceptions import InputInvalid
from hyperglass.exceptions import InputNotAllowed
# Project
from hyperglass.util import log
from hyperglass.exceptions import InputInvalid, InputNotAllowed
from hyperglass.configuration import params
def _member_of(target, network):