UNPKG

weaviate-client

Version:
15 lines (14 loc) • 390 B
import { CommandBase } from '../validation/commandBase.js'; export default class TenantsGetter extends CommandBase { className; constructor(client, className) { super(client); this.className = className; } validate = () => { // nothing to validate }; do = () => { return this.client.get(`/schema/${this.className}/tenants`); }; }