This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib.gis.db import models | |
from django.db.models.fields.related import (ForeignObject, | |
ForwardManyToOneDescriptor) | |
from .models import Address | |
def get_address(value: (Address, int, dict, None)) -> (Address, int, None): | |
if value is None: | |
return None |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import os | |
import sys | |
import warnings | |
import requests | |
from lxml import etree | |
MAX_COUNT = 1000 | |
MAX_RESULTS = 2501 # hardcoded to save us doing parsing of numberMatched |
OlderNewer