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

Gets data for many cpu instances even while filtering with single instance_id #393

Open
akhildevelops opened this issue Jan 8, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@akhildevelops
Copy link

Describe the bug
runpod returns data for more than one cpu while filtering with exactly one instance id

{
  "variables": {
    "cpuFlavorInput": null,
    "specificsInput": {
      "instanceId": "cpu3c-2-4"
    }
  },
  "query": "query SecureCpuTypes($cpuFlavorInput: CpuFlavorInput, $specificsInput: SpecificsInput) {
  cpuFlavors(input: $cpuFlavorInput) {
    id
    groupId
    groupName
    specifics(input: $specificsInput) {
      instanceId
      stockStatus
      securePrice
      slsPrice
      __typename
    }
    __typename
  }
}"
}

Returns

{
  "cpuFlavors": [
    {
      "id": "cpu3c",
      "groupId": "cpu3",
      "groupName": "CPU3",
      "specifics": {
        "stockStatus": "High",
        "securePrice": 0.06,
        "slsPrice": 0.072
      }
    },
    {
      "id": "cpu3g",
      "groupId": "cpu3",
      "groupName": "CPU3",
      "specifics": {
        "stockStatus": "High",
        "securePrice": 0.06,
        "slsPrice": 0.072
      }
    },
    {
      "id": "cpu3m",
      "groupId": "cpu3",
      "groupName": "CPU3",
      "specifics": {
        "stockStatus": "High",
        "securePrice": 0.06,
        "slsPrice": 0.072
      }
    },
    {
      "id": "cpu5c",
      "groupId": "cpu5",
      "groupName": "CPU5",
      "specifics": {
        "stockStatus": "High",
        "securePrice": 0.06,
        "slsPrice": 0.072
      }
    },
    {
      "id": "cpu5g",
      "groupId": "cpu5",
      "groupName": "CPU5",
      "specifics": {
        "stockStatus": "High",
        "securePrice": 0.06,
        "slsPrice": 0.072
      }
    },
    {
      "id": "cpu5m",
      "groupId": "cpu5",
      "groupName": "CPU5",
      "specifics": {
        "stockStatus": "High",
        "securePrice": 0.06,
        "slsPrice": 0.072
      }
    }
  ]
}
@akhildevelops akhildevelops added the bug Something isn't working label Jan 8, 2025
@akhildevelops akhildevelops changed the title Get's data for many cpu instances even while filtering with single instance_id Gets data for many cpu instances even while filtering with single instance_id Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants