Skip to content

use 'top_labels' instead of 'num_labels' in metagraph-core api#541

Merged
karasikov merged 1 commit intomasterfrom
mk/top_labels
Oct 4, 2025
Merged

use 'top_labels' instead of 'num_labels' in metagraph-core api#541
karasikov merged 1 commit intomasterfrom
mk/top_labels

Conversation

@karasikov
Copy link
Member

@karasikov karasikov commented Oct 3, 2025

Previously it was mixed: metagraph python api was using top_labels, and it was converting it internally before sending a request to the core metagraph http server, which was expecting that value by flag num_labels.
So, if one was sending requests to metagraph endpoints directly without using the python api, they would have to use num_labels instead of top_labels.

Now it consistently uses top_labels in both APIs.

@karasikov karasikov merged commit 8e4b0f5 into master Oct 4, 2025
21 checks passed
@karasikov karasikov deleted the mk/top_labels branch October 4, 2025 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant