Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Fix Bing Connector Setting Usage #6493

Merged
merged 2 commits into from
Jun 3, 2024
Merged

Python: Fix Bing Connector Setting Usage #6493

merged 2 commits into from
Jun 3, 2024

Conversation

bochris
Copy link
Contributor

@bochris bochris commented Jun 3, 2024

Motivation and Context

PR 6278 added support for Bing Custom Search, but had a bug introduced when merging a change to how settings worked.

Description

This PR fixes the bug in how settings are referenced.

Contribution Checklist

@bochris bochris requested a review from a team as a code owner June 3, 2024 17:51
@markwallace-microsoft markwallace-microsoft added the python Pull requests for the Python Semantic Kernel label Jun 3, 2024
@markwallace-microsoft
Copy link
Member

markwallace-microsoft commented Jun 3, 2024

Py3.10 Test Coverage

Python 3.10 Test Coverage Report •
FileStmtsMissCoverMissing
semantic_kernel/connectors/search_engine
   bing_connector.py332233%38, 47–86
TOTAL612571688% 

Python 3.10 Unit Test Overview

Tests Skipped Failures Errors Time
1433 1 💤 0 ❌ 0 🔥 19.838s ⏱️

@moonbox3 moonbox3 enabled auto-merge June 3, 2024 18:03
@moonbox3 moonbox3 added this pull request to the merge queue Jun 3, 2024
Merged via the queue into microsoft:main with commit e9b1407 Jun 3, 2024
23 checks passed
@bochris bochris deleted the python_fix_bing_connector_setting_usage branch June 6, 2024 14:09
LudoCorporateShark pushed a commit to LudoCorporateShark/semantic-kernel that referenced this pull request Aug 25, 2024
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

[PR 6278](microsoft#6278) added
support for Bing Custom Search, but had a bug introduced when merging a
change to how settings worked.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

This PR fixes the bug in how settings are referenced.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄

Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests for the Python Semantic Kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants