Comments (4)
I encounter similar bug, it get trigger when deployed the bot to teams, run in emulator is fine.
the problem is position "*" in __init__function (class ResourceResponse(Model):
in _models_py3.py , make it the id
must be call as keyword, but the caller in cloud_adapter_base.py:103
doesn't specific the keyword for the parameter. response = response or ResourceResponse(activity.id or "")
class ResourceResponse(Model):
"""A response containing a resource ID.
:param id: Id of the resource
:type id: str
"""
_attribute_map = {"id": {"key": "id", "type": "str"}}
def __init__(self, *, id: str = None, **kwargs) -> None:
super(ResourceResponse, self).__init__(**kwargs)
self.id = id
cloud_adapter_base.py
response = response or ResourceResponse(activity.id or "")
Suggest to update all callers include cloud_adapter_base.py to include the "id="
eg:
response = response or ResourceResponse(id=activity.id or "")
from botbuilder-python.
When this will be released? It is a blocker issue for us, is there a roadmap or release date?
from botbuilder-python.
Same issue encountered.
from botbuilder-python.
I encounter similar bug, it get trigger when deployed the bot to teams, run in emulator is fine. the problem is position "*" in
__init__function (class ResourceResponse(Model):
in _models_py3.py , make it theid
must be call as keyword, but the caller incloud_adapter_base.py:103
doesn't specific the keyword for the parameter. response = response or ResourceResponse(activity.id or "")class ResourceResponse(Model): """A response containing a resource ID. :param id: Id of the resource :type id: str """ _attribute_map = {"id": {"key": "id", "type": "str"}} def __init__(self, *, id: str = None, **kwargs) -> None: super(ResourceResponse, self).__init__(**kwargs) self.id = idcloud_adapter_base.py
response = response or ResourceResponse(activity.id or "")Suggest to update all callers include cloud_adapter_base.py to include the "id=" eg:
response = response or ResourceResponse(id=activity.id or "")
nice catch! I created a PR to fix the occurrences I found #2057
from botbuilder-python.
Related Issues (20)
- port: CertificateServiceClientCredentialsFactory
- Ability to pass BotFrameworkConnectorConfiguration into ConfigurationBotFrameworkAuthentication
- Add AllowedCallersClaimsValidator, AllowedSkillsClaimsValidator
- ESRP in build pipelines HOT 1
- aiohttp.web_exceptions.HTTPNotFound: Not Found HOT 7
- Recommended change to 3.8.6 or above HOT 2
- CloudAdapter' object has no attribute 'create_connector_client' HOT 13
- Add connect_named_pipe method to CloudAdapter in support of DirectLine Speech
- Can't deploy echo-bot.py. ModuleNotFoundError: No module named 'aiohttp' HOT 3
- CVE-2020-22083 security vulnerability in botbuilder-python SDK HOT 2
- botbuilder-integration-aiohttp - Python 3.12 compatibility HOT 4
- TeamsChannelAccount model missing aadObjectId
- Bot gives same response multiple times when deployed with azure bot service HOT 4
- BotBuilder-Python SSO not working HOT 5
- SSO: AttributeError: 'CloudAdapter' object has no attribute 'exchange_token' HOT 2
- Occasional unexpected ConversationNotFound
- AttributeError: 'CloudAdapter' object has no attribute 'sign_out_user' HOT 4
- Starting from 4.15.0 - <Request POST /api/messages > has failed with exception: KeyError('access_token') HOT 3
- Need to upgrade aiohttp dependency to 3.9.4 HOT 1
- use managed identity in Python bot HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botbuilder-python.