Skip to content

Commit e8d23be

Browse files
committed
Fixing broken salesforce example and updating the pip dependency to pip3
1 parent 77ddce2 commit e8d23be

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

custom_connector_sdk/connector/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def __init__(self,
205205
o_auth_2_grant_types_supported: List[OAuth2GrantType],
206206
o_auth_scopes: List[str] = None,
207207
o_auth_2_custom_parameters: List[Oauth2CustomParameter] = None,
208-
add_basic_auth_header: bool,
208+
add_basic_auth_header: bool = False,
209209
o_auth_2_content_type: OAuth2ContentType = OAuth2ContentType.URL_ENCODED,
210210
o_auth_2_method_type: OAuth2MethodType = OAuth2MethodType.HTTP_POST):
211211
# OAuth Scopes.

custom_connector_tools/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This document explains how you can deploy a lambda connector into your AWS accou
33

44
## Prerequisites:
55

6-
- pip
6+
- pip3
77
- aws cli
88

99
## Command:

custom_connector_tools/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ PACKAGE_NAME=$4
5454
echo "Using Package Name $PACKAGE_NAME"
5555

5656
rm -rf ../../"$PACKAGE_NAME"
57-
pip install --target ../../"$PACKAGE_NAME"/python -r ../requirements.txt
57+
pip3 install --target ../../"$PACKAGE_NAME"/python -r ../requirements.txt
5858

5959
aws --region $AWS_REGION cloudformation package --template-file template.yml --s3-bucket "$BUCKET_NAME" --output-template-file out.yml
6060
aws --region $AWS_REGION cloudformation deploy --template-file out.yml --stack-name "$STACK_NAME" --capabilities CAPABILITY_NAMED_IAM

0 commit comments

Comments
 (0)