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: Add init file to connectors submodule #2350

Merged

Conversation

awharrison-28
Copy link
Contributor

Motivation and Context

Microsoft docs autogeneration will not recognize connectors as a submodule of semantic_kernel unless it has an init.py file

Description

Adds an empty init.py file to semantic_kernel/connectors/ - will not affect module imports for this package but will ensure that connectors is correctly picked up as a semantic_kernel submodule.

Contribution Checklist

@awharrison-28 awharrison-28 requested a review from a team as a code owner August 8, 2023 00:00
@shawncal shawncal added the python Pull requests for the Python Semantic Kernel label Aug 8, 2023
@awharrison-28 awharrison-28 added this pull request to the merge queue Aug 8, 2023
Merged via the queue into microsoft:main with commit 138080a Aug 8, 2023
27 checks passed
@awharrison-28 awharrison-28 deleted the python/add_init_to_connectors branch August 8, 2023 15:48
SOE-YoungS pushed a commit to SOE-YoungS/semantic-kernel that referenced this pull request Nov 1, 2023
### Motivation and Context
Microsoft docs autogeneration will not recognize connectors as a
submodule of semantic_kernel unless it has an __init__.py file

### Description

Adds an empty __init__.py file to semantic_kernel/connectors/ - will not
affect module imports for this package but will ensure that connectors
is correctly picked up as a semantic_kernel submodule.

### Contribution Checklist

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

- [ ] The code builds clean without any errors or warnings
- [ ] 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
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄

---------

Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>
Co-authored-by: Abby Harrison <abharris@microsoft.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
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants