Comments (4)
@kiselica-aldin thank you very much :).
from infobip-api-python-client.
Hello @ayoubaayoub
I see, the issue you are experiencing is similar to the #14
If you browse through the dependency, you will see that SmsTextualMessage
model is located within the sms_textual_message.py
file.
In your attempt, you successfully directly imported ApiClient
and Configuration
models.
As well as all of the models included within the sms_advanced_textual_request.py
file.
Hence to properly import SmsTextualMessage
, you would have to import it separately as well:
You can do that by adding either:
from infobip_api_client.model.sms_textual_message import SmsTextualMessage
or alternatively, to import all models from that file:
from infobip_api_client.model.sms_textual_message import *
from infobip-api-python-client.
Ah, now I see you completely changed the issue :)
Let me quickly read that again
from infobip-api-python-client.
So, same as above...
If you browse through the dependency, you will see that SendSmsApi
API class is located within the send_sms_api.py
file.
Hence use either:
from infobip_api_client.api.send_sms_api import SendSmsApi
or with an asterisk:
from infobip_api_client.api.send_sms_api import *
from infobip-api-python-client.
Related Issues (8)
- The client is broken- Unable to Install HOT 2
- When will infobip api start supporting python 3 HOT 2
- How to send messages over Whatsapp channel through Omni api via python3 HOT 2
- SMSTextualRequest package import issue HOT 2
- from util.http import HttpClient **ModuleNotFoundError: No module named 'util'** HOT 2
- AttributeError: module 'enum' has no attribute 'IntFlag' Python 3.6.2 HOT 13
- Error : Name 'send_single_textual_sms' is not defined HOT 1
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 infobip-api-python-client.