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
{ | |
"models/staging/localytics/stg_localytics__users_retained.sql_1": { | |
"date_column": "\n birth_date ", | |
"left_bound": " dateadd('day',-370,'{{ env_var(\"EXECUTION_DATE\") }}'::date)\n ", | |
"right_bound": "'{{ env_var(\"EXECUTION_DATE\") }}'::date" | |
}, | |
"models/staging/localytics/dim_localytics__users.sql_1": { | |
"date_column": " occurred_at ", | |
"left_bound": " dateadd('day', -2, '{{ env_var(\"EXECUTION_DATE\") }}') ", | |
"right_bound": "dateadd('ms', -1, '{{ env_var(\"EXECUTION_DATE\") }}' + 1)\n" |
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
# pip install tqdm GitPython | |
from git import Repo | |
from git.exc import GitCommandError | |
from tqdm import tqdm | |
DEFAULT_BRANCH = "master" | |
IGNORED_BRANCHES = [] # develop, ... | |
repo = Repo(".") | |
branches = repo.branches |
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 unicodedata | |
import html | |
import datetime | |
from dateutil.relativedelta import relativedelta | |
import csv | |
# how to make a GET request in python? -> learn how to use the 'requests' library | |
import requests | |
# how to use an external library to create a progress bar? |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<?xml version="1.0" encoding="UTF-8"?> | |
<gexf version="1.2" xmlns="http://www.gexf.net/1.2draft" xmlns:viz="http:///www.gexf.net/1.1draft/viz"> | |
<meta> | |
<title>Les Miserables.gexf</title> | |
<authors>Gephi 0.9.3</authors> | |
</meta> | |
<graph defaultedgetype="undirected"> | |
<attributes class="node"> | |
<attribute id="modularity_class" title="modularity_class" type="integer"/> | |
</attributes> |
OlderNewer