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 argparse | |
from datetime import datetime | |
from looker_sdk import client, models | |
DEFAULT_DAYS_TO_DISABLE = 180 | |
def deactivate_users(days_to_disable): | |
role_cnt = {} | |
no_login_cnt = looker_user_cnt = active_user_cnt = errors = disabled_users = 0 |
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
{ | |
"colorsArray":[{ | |
"colorName":"red", | |
"hexValue":"#f00" | |
}, | |
{ | |
"colorName":"green", | |
"hexValue":"#0f0" | |
}, | |
{ |