Skip to content

Add run_moderation to the remote provider - #21

Merged
m-misiura merged 3 commits into
trustyai-explainability:mainfrom
m-misiura:lls-0.2.19-no-openai-in-moderations
Sep 4, 2025
Merged

Add run_moderation to the remote provider#21
m-misiura merged 3 commits into
trustyai-explainability:mainfrom
m-misiura:lls-0.2.19-no-openai-in-moderations

:construction: addressing sourcery comments about shields caching in …

1237545
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / Bandit completed Sep 1, 2025 in 2s

1 configuration not found

Warning: Code scanning may not have found all the alerts introduced by this pull request, because 1 configuration present on refs/heads/main was not found:

Actions workflow (security.yml)

  • ❓  bandit-security-scan

New alerts in code changed by this pull request

  • 11 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 28 in tests/test_moderation.py

See this annotation in the file changed.

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Check notice on line 29 in tests/test_moderation.py

See this annotation in the file changed.

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Check notice on line 30 in tests/test_moderation.py

See this annotation in the file changed.

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Check notice on line 31 in tests/test_moderation.py

See this annotation in the file changed.

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Check notice on line 32 in tests/test_moderation.py

See this annotation in the file changed.

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Check notice on line 43 in tests/test_moderation.py

See this annotation in the file changed.

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Check notice on line 44 in tests/test_moderation.py

See this annotation in the file changed.

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Check notice on line 45 in tests/test_moderation.py

See this annotation in the file changed.

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Check notice on line 55 in tests/test_moderation.py

See this annotation in the file changed.

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Check notice on line 69 in tests/test_moderation.py

See this annotation in the file changed.

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Check notice on line 70 in tests/test_moderation.py

See this annotation in the file changed.

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.