Skip to content

#2165 JavascriptFunctions: refactor to support objects as parameter - #2492

Merged
lvca merged 1 commit into
mainfrom
fix/2165-js-obkect-serialization
Sep 10, 2025
Merged

lvca merged 1 commit into
mainfrom
fix/2165-js-obkect-serialization

Conversation

@robfrank

@robfrank robfrank commented Sep 9, 2025

Copy link
Copy Markdown
Collaborator

This pull request enhances support for JavaScript functions in ArcadeDB, particularly in handling JSON and string inputs, and improves code clarity and test coverage. The most significant changes involve adding new tests for JavaScript function input scenarios, refining how JavaScript function definitions are constructed and executed, and cleaning up imports for better readability.

JavaScript function input handling:

  • Added tests for passing JSON objects and strings as parameters to JavaScript functions, verifying correct behavior both via direct execution and SQL queries in PolyglotFunctionTest.java and JsFunctionsTest.java. [1] [2]
  • Improved handling of string parameters in JavaScript function execution by removing unnecessary quoting logic, ensuring compatibility with various input types.

JavaScript function definition construction:

  • Refactored function declaration construction in JavascriptFunctionDefinition.java to use StringBuilder for safer and more efficient string concatenation.

Code clarity and organization:

  • Cleaned up import statements in JavascriptFunctionDefinition.java and test files for better readability and maintainability. [1] [2] [3]
  • Improved code formatting and readability in test methods, including multi-line method signatures and SQL command strings.

These changes collectively improve the robustness and clarity of JavaScript function support in ArcadeDB.

@robfrank robfrank added this to the 25.9.1 milestone Sep 9, 2025
@robfrank robfrank linked an issue Sep 9, 2025 that may be closed by this pull request

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary of Changes

Hello @robfrank, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the robustness and clarity of JavaScript function support within ArcadeDB. It focuses on improving how JavaScript functions handle diverse input types like JSON objects and strings, refines the internal mechanism for defining these functions, and boosts overall code quality through better organization and comprehensive testing.

Highlights

  • JavaScript Function Input Handling: Enhanced support for passing JSON objects and strings as parameters to JavaScript functions, including new tests and removal of unnecessary string quoting logic.
  • JavaScript Function Definition Refactoring: Improved the construction of JavaScript function declarations by switching from string concatenation to StringBuilder for better performance and safety.
  • Code Clarity and Test Coverage: Cleaned up import statements across several files and added comprehensive tests for various JavaScript function input scenarios, improving overall code readability and robustness.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request effectively enhances JavaScript function support for object and string parameters. The changes are well-tested with new additions to both e2e and engine tests. The refactoring in JavascriptFunctionDefinition to use StringBuilder is a good improvement. I have one suggestion regarding test isolation in JsFunctionsTest.java to ensure the new tests clean up after themselves, preventing potential side effects.

Comment on lines +39 to +47
database.command("sql", """
DEFINE FUNCTION Test.objectComparison "return a.foo == 'bar'" PARAMETERS [a] LANGUAGE js;
""");

ResultSet resultSet = database.query("sql", """
SELECT `Test.objectComparison`('{"foo":"bar"}') as matchRating;
""");

assertThat(resultSet.next().<Boolean>getProperty("matchRating")).isTrue();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

This test, along with testStringObjectAsInput, defines a new function but does not clean it up after execution. This breaks test isolation and can lead to side effects in other tests. To ensure each test is self-contained and cleans up its resources, you should use a try...finally block to delete the function after the test completes.

Suggested change
database.command("sql", """
DEFINE FUNCTION Test.objectComparison "return a.foo == 'bar'" PARAMETERS [a] LANGUAGE js;
""");
ResultSet resultSet = database.query("sql", """
SELECT `Test.objectComparison`('{"foo":"bar"}') as matchRating;
""");
assertThat(resultSet.next().<Boolean>getProperty("matchRating")).isTrue();
database.command("sql", """
DEFINE FUNCTION Test.objectComparison "return a.foo == 'bar'" PARAMETERS [a] LANGUAGE js;
""");
try {
ResultSet resultSet = database.query("sql", """
SELECT `Test.objectComparison`('{"foo":"bar"}') as matchRating;
""");
assertThat(resultSet.next().<Boolean>getProperty("matchRating")).isTrue();
} finally {
database.command("sql", "DELETE FUNCTION Test.objectComparison");
}

@codacy-production

codacy-production Bot commented Sep 9, 2025 •

Copy link
Copy Markdown

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
✅ -0.22% ✅ 100.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (8080422) 70965 45745 64.46%
Head commit (0dc4122) 70960 (-5) 45589 (-156) 64.25% (-0.22%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#2492) 7 7 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

@robfrank
robfrank requested a review from lvca September 9, 2025 15:45
@robfrank
robfrank force-pushed the fix/2165-js-obkect-serialization branch from 94f74d6 to 0dc4122 Compare September 9, 2025 15:45
@lvca
lvca merged commit 10db2af into main Sep 10, 2025
@lvca lvca modified the milestones: 25.9.1, 25.8.1 Sep 10, 2025
robfrank added a commit that referenced this pull request Sep 10, 2025
…add tests for objects and string (#2492)

(cherry picked from commit 10db2af)
@robfrank
robfrank deleted the fix/2165-js-obkect-serialization branch January 14, 2026 16:05
tae898 pushed a commit to humemai/arcadedb-embedded-python that referenced this pull request Jun 28, 2026
mergify Bot added a commit that referenced this pull request Aug 30, 2026
…[skip ci]

Bumps [https://github.com/pycqa/isort](https://github.com/pycqa/isort) from 8.0.1 to 9.0.0.
Release notes

*Sourced from [https://github.com/pycqa/isort's releases](https://github.com/pycqa/isort/releases).*

> 9.0.0
> -----
>
> `isort` `9.0.0` is the result of several alpha and beta releases, as well as a small number of fixes added after the last beta. For release notes for the individual alphas and betas we would like to refer to:
>
> * [9.0.0a2](https://github.com/PyCQA/isort/releases/tag/9.0.0a2)
> * [9.0.0a3](https://github.com/PyCQA/isort/releases/tag/9.0.0a3)
> * [9.0.0b1](https://github.com/PyCQA/isort/releases/tag/9.0.0b1)
> * [9.0.0b2](https://github.com/PyCQA/isort/releases/tag/9.0.0b2)
> * [9.0.0b5](https://github.com/PyCQA/isort/releases/tag/9.0.0b5)
>
> *Skipped version numbers are the result of changes to our release infrastructure that broke while creating the actual releases.*
>
> Please find below the full release notes for version `9.0.0`, the newest release of `isort` after version `8.0.1`.
>
> ---
>
> `isort` `9.0.0` contains some significant changes and improvements. Most notably there is now support for Python 3.15 and its `lazy` imports and we have included several performance improvements as well as providing `mypyc` compiled wheels for all major platforms and supported versions of Python. In our own tests we saw speeds ups of more than 2x and 3x times, but this is highly dependent on the codebase `isort` needs to inspect.
>
> The full list of changes is as follows:
>
> 💥 Breaking Changes
> -----------------------
>
> * Remove logic for deprecated options ([#2498](https://redirect.github.com/pycqa/isort/issues/2498)) [`@​DanielNoord`](https://github.com/DanielNoord)
>
> 🚀 Features
> -----------------
>
> * Sort lazy import statements ([#2503](https://redirect.github.com/pycqa/isort/issues/2503)) [`@​DanielNoord`](https://github.com/DanielNoord)
> * Add initial support for Python 3.15 ([#2466](https://redirect.github.com/pycqa/isort/issues/2466)) [`@​DanielNoord`](https://github.com/DanielNoord)
> * Compile with `mypyc` by [`@​DanielNoord`](https://github.com/DanielNoord) in [PyCQA/isort#2586](https://redirect.github.com/PyCQA/isort/pull/2586)
> * Cache calls to `posixpath.abspath` by [`@​DanielNoord`](https://github.com/DanielNoord) in [PyCQA/isort#2606](https://redirect.github.com/PyCQA/isort/pull/2606)
> * Consider private `stdlib` modules to be `stdlib` ([#2295](https://redirect.github.com/pycqa/isort/issues/2295)) [`@​devdanzin`](https://github.com/devdanzin)
> * Add CLI Flag for --forced-separate ([PyCQA/isort#2367](https://redirect.github.com/PyCQA/isort/pull/2367)) [`@​hirak99`](https://github.com/hirak99)
> * Add separate\_packages option ([#2313](https://redirect.github.com/pycqa/isort/issues/2313)) [`@​alex-liang3`](https://github.com/alex-liang3)
>
> 🪲 Fixes
> --------------
>
> * Fix inline comment duplication across merged `from X import` lines ([#2499](https://redirect.github.com/pycqa/isort/issues/2499)) [`@​copilot-swe-agent`](https://github.com/copilot-swe-agent)
> * Fix src glob patterns passed via CLI ([#2497](https://redirect.github.com/pycqa/isort/issues/2497)) [`@​ReinerBRO`](https://github.com/ReinerBRO)
> * Fix opening-line comment moving to alias attribute line on wrapped imports ([#2491](https://redirect.github.com/pycqa/isort/issues/2491)) [`@​copilot-swe-agent`](https://github.com/copilot-swe-agent)
> * Fix multi\_line\_output=3/5 ignored when wrapping single imports with inline comments ([#2474](https://redirect.github.com/pycqa/isort/issues/2474)) [`@​copilot-swe-agent`](https://github.com/copilot-swe-agent)
> * Fix false positive in `check_code` when using `float_to_top` + `add_imports` ([#2492](https://redirect.github.com/pycqa/isort/issues/2492)) [`@​copilot-swe-agent`](https://github.com/copilot-swe-agent)
> * Fix: preserve bare `#` inline comments on imports ([#2488](https://redirect.github.com/pycqa/isort/issues/2488)) [`@​copilot-swe-agent`](https://github.com/copilot-swe-agent)
> * Fix grouping of non-aliased imports when mixed with aliased imports from the same module ([#2470](https://redirect.github.com/pycqa/isort/issues/2470)) [`@​copilot-swe-agent`](https://github.com/copilot-swe-agent)
> * Fix [PyCQA/isort#2500](https://redirect.github.com/PyCQA/isort/issues/2500): trusted publishing by [`@​staticdev`](https://github.com/staticdev) in [PyCQA/isort#2521](https://redirect.github.com/PyCQA/isort/pull/2521)
> * Fix git\_hook lazy=True option by [`@​sparrowt`](https://github.com/sparrowt) in [PyCQA/isort#2542](https://redirect.github.com/PyCQA/isort/pull/2542)
> * Honor `# isort: off/on/split` during `float_to_top` preprocessing with CRLF input by [`@​DanielNoord`](https://github.com/DanielNoord) with [`@​Copilot`](https://github.com/Copilot) in [PyCQA/isort#2553](https://redirect.github.com/PyCQA/isort/pull/2553)
> * Fix --sort-reexports crash with non-seekable streams (e.g. stdin) by [`@​Abdu-Ahmed`](https://github.com/Abdu-Ahmed) in [PyCQA/isort#2547](https://redirect.github.com/PyCQA/isort/pull/2547)
> * Fix non-idempotent output with split\_on\_trailing\_comma and a non-default wrap mode by [`@​sarathfrancis90`](https://github.com/sarathfrancis90) in [PyCQA/isort#2554](https://redirect.github.com/PyCQA/isort/pull/2554)
> * Fix non-idempotent NOQA wrap mode with imports that carry their own comment by [`@​sarathfrancis90`](https://github.com/sarathfrancis90) in [PyCQA/isort#2556](https://redirect.github.com/PyCQA/isort/pull/2556)
> * Fix NOQA wrap mode accumulating spaces before the comment on each run by [`@​sarathfrancis90`](https://github.com/sarathfrancis90) in [PyCQA/isort#2558](https://redirect.github.com/PyCQA/isort/pull/2558)
> * Fix NOQA not added to long imports in several output paths by [`@​urayoru113`](https://github.com/urayoru113) in [PyCQA/isort#2568](https://redirect.github.com/PyCQA/isort/pull/2568)
> * Honor `# isort: skip` when a `__future__` import is present ([#2092](https://redirect.github.com/pycqa/isort/issues/2092)) by [`@​apoorvdarshan`](https://github.com/apoorvdarshan) in [PyCQA/isort#2574](https://redirect.github.com/PyCQA/isort/pull/2574)

... (truncated)


Changelog

*Sourced from [https://github.com/pycqa/isort's changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md).*

> ### 9.0.0 August 26 2026
>
> * Remove logic for deprecated options ([#2498](https://redirect.github.com/pycqa/isort/issues/2498)) [`@​DanielNoord`](https://github.com/DanielNoord)
> * Sort lazy import statements ([#2503](https://redirect.github.com/pycqa/isort/issues/2503)) [`@​DanielNoord`](https://github.com/DanielNoord)
> * Add initial support for Python 3.15 ([#2466](https://redirect.github.com/pycqa/isort/issues/2466)) [`@​DanielNoord`](https://github.com/DanielNoord)
> * Compile with `mypyc` by [`@​DanielNoord`](https://github.com/DanielNoord) in [PyCQA/isort#2586](https://redirect.github.com/PyCQA/isort/pull/2586)
> * Cache calls to `posixpath.abspath` by [`@​DanielNoord`](https://github.com/DanielNoord) in [PyCQA/isort#2606](https://redirect.github.com/PyCQA/isort/pull/2606)
> * Consider private `stdlib` modules to be `stdlib` ([#2295](https://redirect.github.com/pycqa/isort/issues/2295)) [`@​devdanzin`](https://github.com/devdanzin)
> * Add CLI Flag for --forced-separate ([PyCQA/isort#2367](https://redirect.github.com/PyCQA/isort/pull/2367)) [`@​hirak99`](https://github.com/hirak99)
> * Add separate\_packages option ([#2313](https://redirect.github.com/pycqa/isort/issues/2313)) [`@​alex-liang3`](https://github.com/alex-liang3)
> * Fix inline comment duplication across merged `from X import` lines ([#2499](https://redirect.github.com/pycqa/isort/issues/2499)) [`@​copilot-swe-agent`](https://github.com/copilot-swe-agent)
> * Fix src glob patterns passed via CLI ([#2497](https://redirect.github.com/pycqa/isort/issues/2497)) [`@​ReinerBRO`](https://github.com/ReinerBRO)
> * Fix opening-line comment moving to alias attribute line on wrapped imports ([#2491](https://redirect.github.com/pycqa/isort/issues/2491)) [`@​copilot-swe-agent`](https://github.com/copilot-swe-agent)
> * Fix multi\_line\_output=3/5 ignored when wrapping single imports with inline comments ([#2474](https://redirect.github.com/pycqa/isort/issues/2474)) [`@​copilot-swe-agent`](https://github.com/copilot-swe-agent)
> * Fix false positive in `check_code` when using `float_to_top` + `add_imports` ([#2492](https://redirect.github.com/pycqa/isort/issues/2492)) [`@​copilot-swe-agent`](https://github.com/copilot-swe-agent)
> * Fix: preserve bare `#` inline comments on imports ([#2488](https://redirect.github.com/pycqa/isort/issues/2488)) [`@​copilot-swe-agent`](https://github.com/copilot-swe-agent)
> * Fix grouping of non-aliased imports when mixed with aliased imports from the same module ([#2470](https://redirect.github.com/pycqa/isort/issues/2470)) [`@​copilot-swe-agent`](https://github.com/copilot-swe-agent)
> * Fix [PyCQA/isort#2500](https://redirect.github.com/PyCQA/isort/issues/2500): trusted publishing by [`@​staticdev`](https://github.com/staticdev) in [PyCQA/isort#2521](https://redirect.github.com/PyCQA/isort/pull/2521)
> * Fix git\_hook lazy=True option by [`@​sparrowt`](https://github.com/sparrowt) in [PyCQA/isort#2542](https://redirect.github.com/PyCQA/isort/pull/2542)
> * Honor `# isort: off/on/split` during `float_to_top` preprocessing with CRLF input by [`@​DanielNoord`](https://github.com/DanielNoord) with [`@​Copilot`](https://github.com/Copilot) in [PyCQA/isort#2553](https://redirect.github.com/PyCQA/isort/pull/2553)
> * Fix --sort-reexports crash with non-seekable streams (e.g. stdin) by [`@​Abdu-Ahmed`](https://github.com/Abdu-Ahmed) in [PyCQA/isort#2547](https://redirect.github.com/PyCQA/isort/pull/2547)
> * Fix non-idempotent output with split\_on\_trailing\_comma and a non-default wrap mode by [`@​sarathfrancis90`](https://github.com/sarathfrancis90) in [PyCQA/isort#2554](https://redirect.github.com/PyCQA/isort/pull/2554)
> * Fix non-idempotent NOQA wrap mode with imports that carry their own comment by [`@​sarathfrancis90`](https://github.com/sarathfrancis90) in [PyCQA/isort#2556](https://redirect.github.com/PyCQA/isort/pull/2556)
> * Fix NOQA wrap mode accumulating spaces before the comment on each run by [`@​sarathfrancis90`](https://github.com/sarathfrancis90) in [PyCQA/isort#2558](https://redirect.github.com/PyCQA/isort/pull/2558)
> * Fix NOQA not added to long imports in several output paths by [`@​urayoru113`](https://github.com/urayoru113) in [PyCQA/isort#2568](https://redirect.github.com/PyCQA/isort/pull/2568)
> * Honor `# isort: skip` when a `__future__` import is present ([#2092](https://redirect.github.com/pycqa/isort/issues/2092)) by [`@​apoorvdarshan`](https://github.com/apoorvdarshan) in [PyCQA/isort#2574](https://redirect.github.com/PyCQA/isort/pull/2574)
> * fix: make sorted `__all__` and literals black-compatible ([#2280](https://redirect.github.com/pycqa/isort/issues/2280)) by [`@​lord-haffi`](https://github.com/lord-haffi) in [PyCQA/isort#2576](https://redirect.github.com/PyCQA/isort/pull/2576)
> * Honor skip comments when sorting reexports by [`@​sakshichitnis27`](https://github.com/sakshichitnis27) in [PyCQA/isort#2581](https://redirect.github.com/PyCQA/isort/pull/2581)
> * Keep aliased import when the plain name carries a comment by [`@​sarathfrancis90`](https://github.com/sarathfrancis90) in [PyCQA/isort#2567](https://redirect.github.com/PyCQA/isort/pull/2567)
> * fix: don't crash on --config-root without --resolve-all-configs by [`@​Gooh456`](https://github.com/Gooh456) in [PyCQA/isort#2597](https://redirect.github.com/PyCQA/isort/pull/2597)
> * fix: check\_code misses lines\_before\_imports-only changes ([#2242](https://redirect.github.com/pycqa/isort/issues/2242)) by [`@​gaoflow`](https://github.com/gaoflow) in [PyCQA/isort#2563](https://redirect.github.com/PyCQA/isort/pull/2563)
> * Fix preservation of form-feed blank lines by [`@​utkarshalpha`](https://github.com/utkarshalpha) in [PyCQA/isort#2599](https://redirect.github.com/PyCQA/isort/pull/2599)
> * Small clean up and fix inconsistency in handling of `*` imports by [`@​DanielNoord`](https://github.com/DanielNoord) in [PyCQA/isort#2619](https://redirect.github.com/PyCQA/isort/pull/2619)
> * Fix word-wrapping of 'from ... import \*' into invalid Python ([#2267](https://redirect.github.com/pycqa/isort/issues/2267)) by [`@​sudorm-rf0`](https://github.com/sudorm-rf0) in [PyCQA/isort#2624](https://redirect.github.com/PyCQA/isort/pull/2624)
> * Fix pylint disable-next comments at the start of imports by [`@​Neallin-917`](https://github.com/Neallin-917) in [PyCQA/isort#2628](https://redirect.github.com/PyCQA/isort/pull/2628)
> * Keep add\_imports below a prefixed module docstring by [`@​Eljees`](https://github.com/Eljees) in [PyCQA/isort#2626](https://redirect.github.com/PyCQA/isort/pull/2626)
> * Add read the docs configuration ([#2504](https://redirect.github.com/pycqa/isort/issues/2504)) [`@​DanielNoord`](https://github.com/DanielNoord)
> * Remove unused and broken dependencies ([#2517](https://redirect.github.com/pycqa/isort/issues/2517)) [`@​DanielNoord`](https://github.com/DanielNoord)
> * Remove `Any` from `parse.py` ([#2516](https://redirect.github.com/pycqa/isort/issues/2516)) [`@​DanielNoord`](https://github.com/DanielNoord)
> * Bring documentation in line with old documentation ([#2507](https://redirect.github.com/pycqa/isort/issues/2507)) [`@​DanielNoord`](https://github.com/DanielNoord)
> * Sync profile docs with implementation ([#2495](https://redirect.github.com/pycqa/isort/issues/2495)) [`@​copilot-swe-agent`](https://github.com/copilot-swe-agent)
> * Fix the playground ([#2494](https://redirect.github.com/pycqa/isort/issues/2494)) [`@​DanielNoord7`](https://github.com/DanielNoord7)) [`@​hirak99`](https://github.com/hirak99)
> * Remove unused \_ENCODING\_PATTERN regex and re import by [`@​duriantaco`](https://github.com/duriantaco) in [PyCQA/isort#2525](https://redirect.github.com/PyCQA/isort/pull/2525)
> * Remove references to defunct `git_ignore` config by [`@​sparrowt`](https://github.com/sparrowt) in [PyCQA/isort#2531](https://redirect.github.com/PyCQA/isort/pull/2531)
> * Fix broken relative links in README and CHANGELOG for both GitHub and Sphinx by [`@​rohitshinde08`](https://github.com/rohitshinde08) in [PyCQA/isort#2530](https://redirect.github.com/PyCQA/isort/pull/2530)
> * Bump vendored `tomli` by [`@​DanielNoord`](https://github.com/DanielNoord) in [PyCQA/isort#2579](https://redirect.github.com/PyCQA/isort/pull/2579)
> * Document temporary .isorted files by [`@​sapunyangkut`](https://github.com/sapunyangkut) in [PyCQA/isort#2580](https://redirect.github.com/PyCQA/isort/pull/2580)
> * Remove `cruft` by [`@​DanielNoord`](https://github.com/DanielNoord) in [PyCQA/isort#2610](https://redirect.github.com/PyCQA/isort/pull/2610)
> * Small fixes in preparation for `mypyc` compiled wheels by [`@​DanielNoord`](https://github.com/DanielNoord) in [PyCQA/isort#2623](https://redirect.github.com/PyCQA/isort/pull/2623)
> * Small fixes in preparation for compiling with `mypyc` by [`@​DanielNoord`](https://github.com/DanielNoord) in [PyCQA/isort#2625](https://redirect.github.com/PyCQA/isort/pull/2625)

... (truncated)


Commits

* [`727d119`](PyCQA/isort@727d119) Name the predicate and drive the prefix test off STRING\_PREFIXES
* [`dec76bc`](PyCQA/isort@dec76bc) Fix multiline docstring style
* [`cb179db`](PyCQA/isort@cb179db) Keep add\_imports below a prefixed module docstring
* [`7542f76`](PyCQA/isort@7542f76) test: distinguish pylint disable-next comments
* [`9f56767`](PyCQA/isort@9f56767) Fix pylint disable-next comments at top of imports
* [`0cba6f6`](PyCQA/isort@0cba6f6) Delete .cruft.json
* [`dcdda58`](PyCQA/isort@dcdda58) Remove `if` completely
* [`03d3878`](PyCQA/isort@03d3878) Fix check in CI
* [`926a147`](PyCQA/isort@926a147) Run less Builds
* [`c4ab2e9`](PyCQA/isort@c4ab2e9) Fix `test_importable` for local dev
* Additional commits viewable in [compare view](PyCQA/isort@8.0.1...9.0.0)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=https://github.com/pycqa/isort&package-manager=pre\_commit&previous-version=8.0.1&new-version=9.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Javascript Custom Function - Object Serialization Error

2 participants