Git Product home page Git Product logo

Comments (4)

aaarab avatar aaarab commented on June 5, 2024 1

@kiselica-aldin thank you very much :).

from infobip-api-python-client.

kiselitza avatar kiselitza commented on June 5, 2024

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.

kiselitza avatar kiselitza commented on June 5, 2024

Ah, now I see you completely changed the issue :)
Let me quickly read that again

from infobip-api-python-client.

kiselitza avatar kiselitza commented on June 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.