PyPI / databricks-sdk / 0.157.0

databricks-sdk 0.157.0

Source
https://github.com/databricks/databricks-sdk-py
Artifact scanned
databricks_sdk-0.157.0-py3-none-any.whl (wheel · 1.1 MB · SHA-256 d20b20cbc399…)
Compared with
databricks_sdk-0.156.0-py3-none-any.whl (0 signals introduced since)
Files
98 scanned, 6 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 4 info
Scan time
6.6 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 3 of 3 warn and critical signals; 3 demoted to info.
Disclude version
4.3.0
Scanned (UTC)
2026-10-24 17:42

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info warn → info by review dynamic-attribute databricks/sdk/runtime/__init__.py:130:9

    reach-by-name through `globals` (ast pass, confidence 0.60)

        for var in dbruntime_objects:
            globals()[var] = None
    
        # The next few try-except blocks are for initialising globals in a best effort
    likely benign LLM, confidence 0.85 Pre-declares Databricks runtime global names as None by writing into globals() from a list.
    Reasoning

    The loop assigns None to names in dbruntime_objects via globals(), and the following comment says the try-except blocks initialise globals on a best-effort basis. This is a common way to pre-declare optional runtime names in a Databricks SDK module. It is reflective but has no decoding, execution, or network use, so it reads as a legitimate pattern.

  2. compression ratio 0.838 is >2σ above file mean 0.799 (raw pass, confidence 0.50)

        def as_dict(self) -> dict:
            """Serializes the ModelProviderServiceConfigCustomProviderApiKeyHeaderAuth into a dictionary suitable for use as a JSON request body."""
            body = {}
            if self.api_key_name is not None:
  3. info warn → info by review encoding-base64 databricks/sdk/service/iam.py:2298:37

    base64-like blob (65 bytes, compression ratio 1.17) (raw pass, confidence 0.60)

              Examples | Summary :--- | :--- ``etag=`` | An empty etag can only be used in GET to indicate no
              freshness requirements. ``etag=RENUAAABhSweA4NvVmmUYdiU717H3Tgy0UJdor3gE4a+mq/oj9NjAf8ZsQ==`` | An
              etag encoded a specific version of the rule set to get or to be updated.
    dismissed LLM, confidence 0.93 Example etag value in an API docstring table, flagged as a base64-like blob.
    Reasoning

    The raw pass flagged a base64-like string inside a docstring. It is an illustrative etag value in a markdown table documenting SCIM API usage, not executable code or a payload. Raw findings have a high false-positive rate, and this one matches a documentation example.

  4. info warn → info by review encoding-base64 databricks/sdk/service/iam.py:2414:37

    base64-like blob (65 bytes, compression ratio 1.17) (raw pass, confidence 0.60)

              Examples | Summary :--- | :--- ``etag=`` | An empty etag can only be used in GET to indicate no
              freshness requirements. ``etag=RENUAAABhSweA4NvVmmUYdiU717H3Tgy0UJdor3gE4a+mq/oj9NjAf8ZsQ==`` | An
              etag encoded a specific version of the rule set to get or to be updated.
    dismissed LLM, confidence 0.93 Repeated example etag in another API docstring, flagged as a base64-like blob.
    Reasoning

    This is the same docstring example etag appearing in another method's documentation in the same generated SDK file. It is documentation text with no decoding or execution path, so it is a false positive from the raw pass.

Reproduce This Scan

Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.

cargo install disclude --version 4.3.0
curl -fsSL -o databricks_sdk-0.157.0-py3-none-any.whl https://files.pythonhosted.org/packages/7d/bc/0fdd62f0328c23b17c60daf2ca7a3b2750b7c6853011e61593f7a434bdac/databricks_sdk-0.157.0-py3-none-any.whl
printf '%s  %s\n' d20b20cbc399c7cef801d90c8bc4f2f5f63887d2920aef6ebd94edef1ae000f5 databricks_sdk-0.157.0-py3-none-any.whl | shasum -a 256 -c -
unzip -q databricks_sdk-0.157.0-py3-none-any.whl -d pkg
disclude scan --untrusted --severity info pkg