This file contains 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
[('data', 1192), | |
('week', 187), | |
('post', 171), | |
('new', 163), | |
('also', 162), | |
('airflow', 160), | |
('like', 141), | |
('dbt', 140), | |
('team', 136), | |
('credits', 135), |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
{ | |
"fields": [ | |
{"name": "tpep_pickup_datetime", "format": "YYYY-M-D H:m:s", "type": "timestamp"}, | |
{"name": "pickup_longitude", "format": "", "type": "real"}, | |
{"name": "pickup_latitude", "format": "", "type": "real"} | |
], | |
"rows": [ | |
["2015-01-15 19:05:39 +00:00", -73.99389648, 40.75011063], | |
["2015-01-15 19:05:39 +00:00", -73.97642517, 40.73981094], | |
["2015-01-15 19:05:40 +00:00", -73.96870422, 40.75424576] |
This file contains 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 pytest | |
from airflow.hooks.base_hook import BaseHook | |
from airflow.models import Connection | |
def create_connection(conn_id, schema=None, *args, **kwargs): | |
if schema is None: | |
schema = conn_id | |
return Connection(conn_id=conn_id, schema=schema, *args, **kwargs) |
This file contains 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
license: WTFPL |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 datetime | |
import itertools | |
import oauth2 as oauth | |
import requests | |
import time | |
class SearchMetricAPIError(Exception): | |
pass | |