mirror of
https://github.com/apache/superset.git
synced 2026-05-08 01:15:46 +00:00
The previous import-path fixer only matched two-level relative paths (`../../src/` and `../../data/`), missing files at deeper nesting in the section tree. After the 6.1.0 cut for developer_docs, ~50 component MDX files at depth 3 still referenced `../../../src/components/StorybookWrapper` (should have been `../../../../src/...`), and the components Button page referenced `../../../superset-frontend/...` (should have been `../../../../superset-frontend/...`). The Docusaurus production build failed with module-not-found errors as a result. Replace the pattern-specific regex with a depth-aware walker that - counts the file's nesting depth within the snapshot, - bumps any relative import whose `../` count exceeds that depth (i.e. the import escapes the section root and so must compensate for the extra `version-X.X.X/` directory the snapshot lives under), - skips fenced code blocks so documented sample imports (e.g. Playwright page-object examples in developer_docs/testing/e2e-testing.md) are not rewritten. Re-cut all four sections under the new fixer. yarn build now passes locally.
69 lines
3.6 KiB
Plaintext
69 lines
3.6 KiB
Plaintext
---
|
|
id: get-distinct-values-from-field-data-security-user-registrations-distinct-column-name
|
|
title: "Get distinct values from field data (security-user-registrations-distinct-column-name)"
|
|
description: "Get distinct values from field data (security-user-registrations-distinct-column-name)"
|
|
sidebar_label: "Get distinct values from field data (security-user-registrations-distinct-column-name)"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJzFV21v2zYQ/ivEYR8STI6ToQMCFf2QZmmarugC28EGRIHLSGebKUWqJOXGFfTfhyMlWX4JBmQI8snmyx3vee5VFRTc8BwdGgvxbQVCQQwFdwuIQPEcIYZUyzJXU7+KwOD3UhjMIHamxAhsusCcQ1yBWxV03Toj1BzqOqog1cqhcnTKi0KKlDuh1fDBakV7a9nC6AKNE2hpNRPSodmjMwKhUllmOBWZvykc5rZ3USiHczR0s9nhxvAVrQs+x/036WRqxc+9x2tN+v4BUwcROOEkbczRTQ1K7jCbNlDq2tsIMXwv0azWJH6H+o7Is4VWNqD87fiYfp7JUarLIJShTY0oSAhimCyQOe24ZKrM79EwPWOZsE6o1LEllyVaiPZwYNCW0m1Quvmew8cnnuvUk+Ra+ToOniTwj0Z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dm6hqu65xRsj65q2w9cF5dGWZd34AGvSN838hiv/PUKBL0s691WlzYKgVFj6n0E849LiDv71KwejZmg7ZE892M7yatV/szWkj7e+o2zxhdabEW6cpSn6XtDK7sxFZH9Xri4vKAJpWux5qovD5g9p32tXVYUboXLXnZm+rZGBdf0vJMpPZw==
|
|
sidebar_class_name: "get api-method"
|
|
info_path: developer-docs/api/superset
|
|
custom_edit_url: null
|
|
hide_send_button: true
|
|
show_extensions: true
|
|
---
|
|
|
|
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
|
import ParamsDetails from "@theme/ParamsDetails";
|
|
import RequestSchema from "@theme/RequestSchema";
|
|
import StatusCodes from "@theme/StatusCodes";
|
|
import OperationTabs from "@theme/OperationTabs";
|
|
import TabItem from "@theme/TabItem";
|
|
import Heading from "@theme/Heading";
|
|
import Translate from "@docusaurus/Translate";
|
|
|
|
<Heading
|
|
as={"h1"}
|
|
className={"openapi__heading"}
|
|
children={"Get distinct values from field data (security-user-registrations-distinct-column-name)"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"get"}
|
|
path={"/api/v1/security/user_registrations/distinct/{column_name}"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Get distinct values from field data (security-user-registrations-distinct-column-name)
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
>
|
|
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
</Heading>
|
|
|
|
<ParamsDetails
|
|
{...require("./get-distinct-values-from-field-data-security-user-registrations-distinct-column-name.ParamsDetails.json")}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
{...require("./get-distinct-values-from-field-data-security-user-registrations-distinct-column-name.RequestSchema.json")}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
{...require("./get-distinct-values-from-field-data-security-user-registrations-distinct-column-name.StatusCodes.json")}
|
|
>
|
|
|
|
</StatusCodes>
|