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
#!/usr/bin/env python3 | |
""" Rename an AWS dynamodb table attribute with an exponential timing back-off | |
""" | |
import logging | |
from time import sleep | |
import boto3 | |
from boto3.dynamodb.conditions import Attr |
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
#!/usr/bin/env python3 | |
import os | |
import logging | |
import psycopg2 as pg | |
from decimal import Decimal | |
from functools import wraps | |
from psycopg2.pool import ThreadedConnectionPool |