Giter Site home page Giter Site logo

farm-os-area-feature-proxy's People

Contributors

symbioquine avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

farm-os-area-feature-proxy's Issues

Question regarding farmOS Client

Wow @symbioquine you've really done a lot of work since I last looked at this repo!

Just a couple questions out of curiosity regarding how you're handling requests to the farmOS server. Last I saw you were using the farmOS.py library and I was curious how that was working... but now I see the custom(?) Drupal RestWS Client! Neat!

Ironically, I just today learned about the geojson api at /farm/areas/geojson. I see you had a work around at one point using this:
areas = farm.session.http_request("farm/areas/geojson").json()
But are you still using this API? It seems like it is "all or nothing" regarding the data it returned.

It sounds like motivation was also because farmOS.py (requests) is blocking. Did that create some headaches when working with the WFS side of things? Once we got in deeper with the aggregator I saw how great it would be if farmOS.py was non blocking... ๐Ÿ˜„

  • I had been looking at requests-async but am just now seeing that is is archived and recommends httpx.
  • But twisted looks more than capable as well!! haha
  • I've been working with fastAPI quite a bit for the Aggregator which is built with the asyncio starlette toolkit. This has the same maintainers as httpx so I'm a little inclined to use that in the future, although it has a bit more limited support for async right now

Would love to hear your thoughts!

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.