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
def inspect_companies( | |
start: int = 0, | |
stop: int = 100 | |
) -> Generator[Dict[str, Any]]: | |
"""Generator function to page through Hubspot contacts. | |
: param int start : The start page of the | |
: param int stop : | |
""" |
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 __future__ import annotations | |
from typing import NamedTuple | |
class Point2D(NamedTuple): | |
x: int | |
y: int | |
class Point3D(NamedTuple): |
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 __future__ import annotations | |
from typing import * | |
from types import TracebackType | |
if TYPE_CHECKING: | |
from requests import Request, Response | |
import json | |
import requests | |
from enum import Enum |
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 __future__ import annotations | |
from beartype.typing import * | |
if TYPE_CHECKING: | |
from subprocess import CompletedProcess | |
import subprocess | |
def run(cmd: str) -> CompletedProcess[bytes]: | |
return subprocess.run( |
OlderNewer