2

Getting the error "Instance of '' has no 'Bucket' memberpylint(no-member)"

Tried without my profile and with a profile. No difference.

BUCKET = 'mybucket'

import boto3

dev = boto3.session.Session(profile_name='dev')

s3 = dev.resource('s3')
bucket = s3.Bucket(BUCKET)

Error for linting is on the s3.Bucket line

mbspark
  • 534
  • 3
  • 18

0 Answers0