Skip to content

W8912: Incompatible with Unity Catalog: from boto3 import Session (incompatible-with-uc) #36

Answered by nfx
NodeJSmith asked this question in Q&A
Discussion options

You must be logged in to vote

Our current detection is a bit more aggressive than it should be. But it's kind of straightforward at the moment: see https://github.com/databrickslabs/pylint-plugin/blob/main/src/databricks/labs/pylint/legacy.py

There are two options:

  • add "#pylint: disable=check-name"
  • make a PR to take boto3 out of generic list and add logic for all downstream calls to be checked against their initialization

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nfx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #34 on April 19, 2024 13:56.