Giter Club home page Giter Club logo

Comments (4)

Vehemos avatar Vehemos commented on August 10, 2024

Ok just did a little bit of testing, apparantly it gets stuck at:

Line 98 on https://github.com/trix-solutions/moncli/blob/master/moncli/entities/board.py
board = client.get_boards( self.__creds.api_key_v2, *field_list, ids=[int(self.id)])[0]

Will update here once I get something more

from moncli.

Vehemos avatar Vehemos commented on August 10, 2024

Apparently I was able to receive the correct response as expected after editing line 90 on board.py

from:
field_list = ['groups.id', 'groups.title', 'groups.items.id']

to:
field_list = ['groups.id', 'groups.title']#, 'groups.items.id']

after removing the groups.items.id it is working as expected.
I am not sure why this is happeneing the way it is, can you please take a closer look?

Thank You

from moncli.

Ashatz avatar Ashatz commented on August 10, 2024

Hello @Vehemos,

Thank you for bringing this to my attention. From what you have reported, it does sound like you have have run into a query complexity issue.

If you check out line 38 of https://github.com/trix-solutions/moncli/blob/master/moncli/api_v2/requests.py while you debug, please be sure that you are not getting a complexity error internally. If you do, then the client waits 5 seconds before sending an additional request. It takes about a minute for the complexity usage to restore itself back to normal.
https://monday.com/developers/v2#rate-limits-section

I will take a look, but please let me know if you find anything else. Thanks!

from moncli.

Ashatz avatar Ashatz commented on August 10, 2024

Hello @Vehemos,

Unfortunately I was unable to reproduce your issue. With that being said, we just released v1 of Moncli this morning, which allows you to define return fields via the *args parameter. I believe will address the issue that you brought up.

I will be closing out this issue. Please let me know if you run into any additional problems and happy coding!

from moncli.

Related Issues (20)

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.