- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 860 for admit (0.05 sec)
-
docs/zh/docs/tutorial/bigger-applications.md
```Python hl_lines="14-17" title="app/main.py" {!../../docs_src/bigger_applications/app/main.py!} ``` 这样,原始的 `APIRouter` 将保持不变,因此我们仍然可以与组织中的其他项目共享相同的 `app/internal/admin.py` 文件。 结果是在我们的应用程序中,来自 `admin` 模块的每个*路径操作*都将具有: * `/admin` 前缀 。 * `admin` 标签。 * `get_token_header` 依赖项。 * `418` 响应。 🍵 但这只会影响我们应用中的 `APIRouter`,而不会影响使用它的任何其他代码。 因此,举例来说,其他项目能够以不同的身份认证方法使用相同的 `APIRouter`。 ### 包含一个*路径操作*
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/AdminDictAction.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.admin.dict; import org.codelibs.fess.annotation.Secured; import org.codelibs.fess.app.web.base.FessAdminAction; import org.codelibs.fess.dict.DictionaryFile; import org.codelibs.fess.dict.DictionaryItem;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.8K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main_an.py
def test_admin(client: TestClient): response = client.post( "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"} ) assert response.status_code == 200, response.text assert response.json() == {"message": "Admin getting schwifty"} def test_admin_invalid_header(client: TestClient): response = client.post("/admin/", headers={"X-Token": "invalid"})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.6K bytes - Viewed (0) -
docs/iam/access-management-plugin.md
mc mb myminio/test mc cp /etc/issue myminio/test mc admin user add myminio foo foobar123 export MC_HOST_foo=http://foo:foobar123@localhost:9000 mc ls foo mc cp /etc/issue myminio/test/issue2 ``` Only the last operation would fail with a permissions error. ## Configuration Access Management Plugin can be configured with environment variables: ```sh $ mc admin config set myminio policy_plugin --env KEY:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Dec 13 22:28:48 UTC 2022 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/RelatedQueryTests.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.it.admin; import java.util.HashMap; import java.util.Map; import org.codelibs.fess.it.CrudTestBase; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; @Tag("it")
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/dict/SynonymTests.java
*/ package org.codelibs.fess.it.admin.dict; import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; @Tag("it") public class SynonymTests extends DictCrudTestBase { private static final String NAME_PREFIX = "synonymTest_"; private static final String API_PATH = "/api/admin/dict/synonym";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/UpgradeUtil.java
import org.opensearch.action.admin.indices.exists.indices.IndicesExistsResponse; import org.opensearch.action.admin.indices.mapping.get.GetFieldMappingsResponse; import org.opensearch.action.admin.indices.mapping.get.GetFieldMappingsResponse.FieldMappingMetadata; import org.opensearch.action.admin.indices.mapping.get.GetMappingsResponse; import org.opensearch.action.admin.indices.mapping.put.PutMappingRequestBuilder;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/StorageTests.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.it.admin; import static org.hamcrest.Matchers.equalTo; import java.util.Collections; import java.util.HashMap; import java.util.Map; import org.codelibs.fess.it.CrudTestBase; import org.junit.jupiter.api.AfterEach;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/dict/KuromojiTests.java
*/ package org.codelibs.fess.it.admin.dict; import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; @Tag("it") public class KuromojiTests extends DictCrudTestBase { private static final String NAME_PREFIX = "kuromojiTest_"; private static final String API_PATH = "/api/admin/dict/kuromoji";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/BadWordTests.java
*/ package org.codelibs.fess.it.admin; import java.util.HashMap; import java.util.Map; import org.codelibs.fess.it.CrudTestBase; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; @Tag("it") public class BadWordTests extends CrudTestBase { private static final String NAME_PREFIX = "badWordTest_"; private static final String API_PATH = "/api/admin/badword";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.2K bytes - Viewed (0)