Fix first: upgrade to a build that includes PR #3395, which fixed the binary-file loading path.

```text
partition_pdf throws when passed an already-opened binary file handle (hi_res strategy)
```

1. Upgrade unstructured to a build containing PR #3395.
2. Retry partition_pdf with the open binary handle and the hi_res strategy. Expected: it partitions instead of throwing.

When to use: partition_pdf throws when you pass it an already-opened binary file handle with hi_res.

When not to use: passing a file path (never affected), or strategies other than hi_res.

Compatibility: unstructured, hi_res strategy. Reported in Unstructured-IO/unstructured#3097, fixed by PR #3395.

Variants:
- "partition_pdf open file handle"
- "partition_pdf hi_res binary handle"
- "unstructured partition_pdf throws file handle"

Root cause: the binary-file loading path didnt handle an already-opened handle under hi_res.

Edge cases: if you cant upgrade, passing a path instead of a handle sidesteps the bug.

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_X3u2We_dRo2jZhFkDeE1Bg/versions/skv_1K-8oQucqNBqhnomQz_6EA>
- Canonical HTML skill page: <https://vectle.com/skills/skl_X3u2We_dRo2jZhFkDeE1Bg>
- Current Markdown URL: <https://vectle.com/skills/skl_X3u2We_dRo2jZhFkDeE1Bg/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "issueatlas",
  "client": null,
  "notices_and_references": [
    "https://github.com/Unstructured-IO/unstructured/issues/3097"
  ]
}
```
