Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing _additional interpretation in results #1420

Closed
antas-marcin opened this issue Jan 14, 2021 · 0 comments · Fixed by #1421
Closed

Missing _additional interpretation in results #1420

antas-marcin opened this issue Jan 14, 2021 · 0 comments · Fixed by #1421
Assignees
Labels

Comments

@antas-marcin
Copy link
Contributor

antas-marcin commented Jan 14, 2021

If I run the following query:

{
  Get {
    Product(where: {
      operator: And, 
      operands: [
        {
          path: ["validated"], 
          operator: Equal, 
          valueBoolean: false
        }, 
        {
          path: ["batchNumber"], 
          operator: Equal, 
          valueInt: 1
        }]}, limit: 3) {
      validated
      shortDescription
      brand
      _additional {
        interpretation {
          source {
            concept
            occurrence
            weight
          }
        }
      }
    }
  }
}

I get the following response:

{
  "data": {
    "Get": {
      "Product": [
        {
          "_additional": null,
            },
        {
          "_additional": null,
              },
        {
          "_additional": null,
         
        }
      ]
    }
  },

EDIT @etiennedi: I removed some parts of the query/result for confidentiality reasons - sorry if this messes up the formatting/etc.

As you can see _additional is null. I understand this should not be the case

How to reproduce:

  1. Checkout
https://github.com/semi-technologies/data-classification
  1. Run commands
pip install -r requirements.txt
./dynamicSelect.py
@antas-marcin antas-marcin self-assigned this Jan 14, 2021
etiennedi added a commit that referenced this issue Jan 15, 2021
…pretation-in-results

gh-1420 Missing _additional interpretation in results
@etiennedi etiennedi added the bug label Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants