code: def get_conn():
      
      if os.environ.get('DEBUG', False) or os.environ.get('travis', False):
          # In DEBUG mode - use the local DynamoDB
          # This also works for travis since we'll be running dynalite
          conn = DynamoDBConnection(
              host='localhost',
              port=8000,
              aws_access_key_id='TEST',
              aws_secret_access_key='TEST',
              is_secure=False
          )
      else:
          # Regular old production
          conn = DynamoDBConnection()
  
      return conn
docs: Return a connection to DynamoDB.