shairubin / fun_with_ast

let's have fun manipulating ASTs in Python
Apache License 2.0
0 stars 1 forks source link

ValueError: joined str string in which start and end quote locations are the same #327

Closed shairubin closed 3 months ago

shairubin commented 3 months ago

tests that reproduced were added marked with issue number

shairubin commented 3 months ago

seems like the issue is inside a dict -- see tests /home/shai/BridgewiseChatbot/lambdas/whatsapp-twilio/lambda_function_twilio.py happens 3 times in bridgewise

shairubin commented 3 months ago

/home/shai/BridgewiseChatbot/qa_chatbot_automation/run_test_questions.py /home/shai/BridgewiseChatbot/lambdas/check_apis.py /home/shai/BridgewiseChatbot/lambdas/robo-analyst-feedback/lambda_function.py /home/shai/BridgewiseChatbot/lambdas/endpoint-detection-testing/lambda_function.py /home/shai/BridgewiseChatbot/lambdas/gpt-speed-monitoring/lambda_function.py

shairubin commented 3 months ago
                      client_secret,
                      cognito_domain):
    # Input params are credentials for AWS Cognito's user pool
    token_request = {
        'url': f'https://{cognito_domain}/oauth2/token',
        'method': 'POST',
        'auth': (client_id, client_secret),
        'headers': {
            'Content-Type': 'application/x-www-form-urlencoded'
        },
        'data': {
            'grant_type': 'client_credentials'
        }
    }