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 sample creation #1478

Merged
merged 5 commits into from
Jan 7, 2025
Merged

Python sample creation #1478

merged 5 commits into from
Jan 7, 2025

Conversation

Jegadeesh-MSFT
Copy link
Contributor

No description provided.

@Pawank-MSFT Pawank-MSFT requested a review from Copilot January 4, 2025 12:37
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 73 out of 88 changed files in this pull request and generated 2 comments.

Files not reviewed (15)
  • samples/bot-adaptive-card-actions/python/.gitignore: Language not supported
  • samples/bot-adaptive-card-actions/python/.vscode/extensions.json: Language not supported
  • samples/bot-adaptive-card-actions/python/.vscode/launch.json: Language not supported
  • samples/bot-adaptive-card-actions/python/.vscode/settings.json: Language not supported
  • samples/bot-adaptive-card-actions/python/.vscode/tasks.json: Language not supported
  • samples/bot-adaptive-card-actions/python/appManifest/manifest.json: Language not supported
  • samples/bot-adaptive-card-actions/python/assets/sample.json: Language not supported
  • samples/bot-adaptive-card-actions/python/env/.env.local: Language not supported
  • samples/bot-adaptive-card-actions/python/infra/azure.bicep: Language not supported
  • samples/bot-adaptive-card-actions/python/infra/azure.parameters.json: Language not supported
  • samples/bot-adaptive-card-actions/python/requirements.txt: Language not supported
  • samples/bot-commands-menu/python/.gitignore: Language not supported
  • samples/bot-commands-menu/python/.vscode/extensions.json: Language not supported
  • samples/bot-adaptive-card-actions/python/teamsapp.yml: Evaluated as low risk
  • samples/bot-adaptive-card-actions/python/bots/init.py: Evaluated as low risk
Comments suppressed due to low confidence (5)

samples/bot-adaptive-card-actions/python/app.py:42

  • [nitpick] The error message could be more informative. Consider suggesting checking the logs for more details.
To continue to run this bot, please fix the bot source code.

samples/bot-adaptive-card-actions/python/config.py:14

  • [nitpick] The placeholder value "<>" is ambiguous. It should be renamed to "YOUR_MICROSOFT_APP_ID" to make it clear that this value needs to be replaced with an actual environment variable.
APP_ID = os.environ.get("MicrosoftAppId", "<<MICROSOFT-APP-ID>>")

samples/bot-adaptive-card-actions/python/config.py:15

  • [nitpick] The placeholder value "<>" is ambiguous. It should be renamed to "YOUR_MICROSOFT_APP_PASSWORD" to make it clear that this value needs to be replaced with an actual environment variable.
APP_PASSWORD = os.environ.get("MicrosoftAppPassword", "<<MICROSOFT-APP-PASSWORD>>")

samples/bot-adaptive-card-actions/python/bots/adaptive_card_actions_bot.py:45

  • Correct the typo in the message: 'Toggle Visible Card' should be 'ToggleVisibility Card' to match the command.
"**2** for Bot Suggested Actions, and **3** for Toggle Visible Card."

samples/bot-adaptive-card-actions/python/bots/adaptive_card_actions_bot.py:91

  • [nitpick] The error message could be more descriptive, such as 'Please enter your name.'
"errorMessage": "Name is required"

Choose a reason for hiding this comment

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

Copilot reviewed 73 out of 88 changed files in this pull request and generated no comments.

Files not reviewed (15)
  • samples/bot-adaptive-card-actions/python/.gitignore: Language not supported
  • samples/bot-adaptive-card-actions/python/.vscode/extensions.json: Language not supported
  • samples/bot-adaptive-card-actions/python/.vscode/launch.json: Language not supported
  • samples/bot-adaptive-card-actions/python/.vscode/settings.json: Language not supported
  • samples/bot-adaptive-card-actions/python/.vscode/tasks.json: Language not supported
  • samples/bot-adaptive-card-actions/python/appManifest/manifest.json: Language not supported
  • samples/bot-adaptive-card-actions/python/assets/sample.json: Language not supported
  • samples/bot-adaptive-card-actions/python/env/.env.local: Language not supported
  • samples/bot-adaptive-card-actions/python/infra/azure.bicep: Language not supported
  • samples/bot-adaptive-card-actions/python/infra/azure.parameters.json: Language not supported
  • samples/bot-adaptive-card-actions/python/requirements.txt: Language not supported
  • samples/bot-commands-menu/python/.gitignore: Language not supported
  • samples/bot-commands-menu/python/.vscode/extensions.json: Language not supported
  • samples/bot-adaptive-card-actions/python/bots/init.py: Evaluated as low risk
  • samples/bot-adaptive-card-actions/python/bots/adaptive_card_actions_bot.py: Evaluated as low risk
Copy link
Contributor

@Harikrishnan-MSFT Harikrishnan-MSFT left a comment

Choose a reason for hiding this comment

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

Looks Good Approved !!!

Copy link
Collaborator

@Pawank-MSFT Pawank-MSFT left a comment

Choose a reason for hiding this comment

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

Looks correct, Approving!

@Jegadeesh-MSFT
Copy link
Contributor Author

@Harikrishnan-MSFT
Copy link
Contributor

@Harikrishnan-MSFT Harikrishnan-MSFT merged commit 32b3720 into main Jan 7, 2025
271 checks passed
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.

3 participants