- Sort Score
- Num 10 results
- Language All
Results 1381 - 1390 of 4,164 for is (0.12 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java
* * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, 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. */
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Feb 28 23:54:53 GMT 2024 - 1.7K bytes - Click Count (0) -
tests/test_security_openid_connect_optional.py
username: str def get_current_user(oauth_header: Optional[str] = Security(oid)): if oauth_header is None: return None user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: Optional[User] = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_user client = TestClient(app)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.4K bytes - Click Count (0) -
fastapi/responses.py
[FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/). """ def render(self, content: Any) -> bytes: assert ujson is not None, "ujson must be installed to use UJSONResponse" return ujson.dumps(content, ensure_ascii=False).encode("utf-8") class ORJSONResponse(JSONResponse): """Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Oct 18 12:36:40 GMT 2023 - 1.7K bytes - Click Count (0) -
tests/test_dependency_after_yield_raise.py
client.get("/broken") def test_broken_no_raise(): """ When a dependency with yield raises after the yield (not in an except), the response is already "successfully" sent back to the client, but there's still an error in the server afterwards, an exception is raised and captured or shown in the server logs. """ with TestClient(app, raise_server_exceptions=False) as client: response = client.get("/broken")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
cmd/endpoint_contrib_test.go
* You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * 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 cmd
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 30 15:50:39 GMT 2021 - 2.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleClasspath.groovy
* You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * 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. */
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jul 07 13:12:26 GMT 2021 - 1.7K bytes - Click Count (0) -
chainable_api.go
// // Attrs only adds attributes if the record is not found. // // // assign an email if the record is not found // db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user) // // user -> User{Name: "non_existing", Email: "******@****.***"} // // // assign an email if the record is not found, otherwise ignore provided email
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 14.8K bytes - Click Count (0) -
lib/fips140/v1.1.0-rc1.zip
mFour) if err != nil { t.Fatal(err) } checkYes(n.IsMinusOne(mFour), "3 is not -1 mod 4") checkNot(n.IsZero(), "3 is zero") checkNot(n.IsOne(), "3 is one") checkYes(n.IsOdd(), "3 is not odd") n.SubOne(mFour) checkNot(n.IsMinusOne(mFour), "2 is -1 mod 4") checkNot(n.IsZero(), "2 is zero") checkNot(n.IsOne(), "2 is one") checkNot(n.IsOdd(), "2 is odd") n.SubOne(mFour) checkNot(n.IsMinusOne(mFour), "1 is -1 mod 4") checkNot(n.IsZero(), "1 is zero") checkYes(n.IsOne(), "1 is not one") checkYes(n.IsOdd(), "1...Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionData.java
* * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, 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. */
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.5K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/missing-report-version-pom.xml
with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, 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. --> <project>Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0)