Coder Social home page Coder Social logo

Comments (7)

thigm85 avatar thigm85 commented on June 16, 2024

Hi @sephiartlist, that is correct. The reason for that is that most applications have the same name for schema and document which often means that http://hostname:8080/document/v1/music/music/docid/1 is the desired URL.

What is your use case, and how is the schema defined?

from pyvespa.

sephiartlist avatar sephiartlist commented on June 16, 2024

Well - In our case the deployment of the app was with a specific namespace which was different from the schema.
Actually - didn't recall how it was changed from the default.
The schema can be easily identified from the *.sd file -
Where is the namespace defined when deploying the app?

from pyvespa.

sephiartlist avatar sephiartlist commented on June 16, 2024

I guess it is a wider issue - and it needs to be addressed also in

  1. delete_data
  2. feed_data_point
  3. delete_all_docs

from pyvespa.

sephiartlist avatar sephiartlist commented on June 16, 2024

I've update the application.py file to handle namespace
All public methods have been added an optional argument namespace
I'm using it internally but It has not been tested .
Since I'm not sure about your development environment - i'll be happy to submit a PR - but if you prefer you can incorporate it by yourself.
See amended application.py.txt

from pyvespa.

thigm85 avatar thigm85 commented on June 16, 2024

Hi @sephiartlist, I would be happy to review your PR if you want to create one. Let me know if you have questions about the development environment and any other issues that might block you.

from pyvespa.

sephiartlist avatar sephiartlist commented on June 16, 2024

Hi @thigm85 ,
I'll try setting up the development environment - do you have any specific guidelines for contributions?
I'll be grateful if you can review my approach for solving this issue (see the above application.py.txt file), and direct me if you would like to take a different approach

from pyvespa.

thigm85 avatar thigm85 commented on June 16, 2024

Just submit a PR with the code changes and we can discuss it there.

from pyvespa.

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.