Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 324 for inspect (0.09 sec)

  1. fastapi/dependencies/utils.py

        if inspect.isroutine(call):
            return inspect.iscoroutinefunction(call)
        if inspect.isclass(call):
            return False
        dunder_call = getattr(call, "__call__", None)  # noqa: B004
        return inspect.iscoroutinefunction(dunder_call)
    
    
    def is_async_gen_callable(call: Callable[..., Any]) -> bool:
        if inspect.isasyncgenfunction(call):
            return True
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		return nil
    	}
    
    	// save args passed to inspect command
    	var sb bytes.Buffer
    	fmt.Fprintf(&sb, "Inspect path: %s%s%s\n", volume, slashSeparator, file)
    	sb.WriteString("Server command line args:")
    	for _, pool := range globalEndpoints {
    		sb.WriteString(" ")
    		sb.WriteString(pool.CmdLine)
    	}
    	sb.WriteString("\n")
    	adminLogIf(ctx, embedFileInZip(inspectZipW, "inspect-input.txt", sb.Bytes(), 0o600))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  3. tensorflow/api_template_v1.__init__.py

    # limitations under the License.
    # ==============================================================================
    """Bring in all of the public TensorFlow interface into this module."""
    
    import importlib
    import inspect as _inspect
    import os as _os
    import site as _site
    import sys as _sys
    import sysconfig
    
    # pylint: disable=g-bad-import-order,protected-access,g-import-not-at-top
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. fastapi/openapi/utils.py

    import http.client
    import inspect
    import warnings
    from typing import Any, Dict, List, Optional, Sequence, Set, Tuple, Type, Union, cast
    
    from fastapi import routing
    from fastapi._compat import (
        GenerateJsonSchema,
        JsonSchemaValue,
        ModelField,
        Undefined,
        get_compat_model_name_map,
        get_definitions,
        get_schema_from_model_field,
        lenient_issubclass,
    )
    from fastapi.datastructures import DefaultPlaceholder
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. tensorflow/api_template.__init__.py

    """
    # pylint: disable=g-bad-import-order,protected-access,g-import-not-at-top
    
    import sysconfig as _sysconfig
    import importlib
    import inspect as _inspect
    import os as _os
    import site as _site
    import sys as _sys
    
    _os.environ.setdefault("ENABLE_RUNTIME_UPTIME_TELEMETRY", "1")
    
    # Do not remove this line; See https://github.com/tensorflow/tensorflow/issues/42596
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            Future<?> possiblyIgnoredError = executor.submit(task);
          }
          awaitUnchecked(barrier);
          assertThat(future.isDone()).isTrue();
          // inspect state and ensure it is correct!
          // asserts that all get calling threads received the same value
          Object result = Iterables.getOnlyElement(finalResults);
          if (result == CancellationException.class) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. common/config/.golangci.yml

            # - name: unused-receiver
            # - name: bare-return
            # - name: flag-parameter
            # - name: unhandled-error
            # - name: if-return
      unparam:
        # Inspect exported functions, default is false. Set to true if no external program/library imports your code.
        # XXX: if you enable this setting, unparam will report a lot of false-positives in text editors:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/custom-response.md

    For large responses, returning a `Response` directly is much faster than returning a dictionary.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    ### Typical Pull Request Workflow -
    
    **1. New PR**
    
    - As a contributor, you submit a New PR on GitHub.
    - We inspect every incoming PR and add certain labels to the PR such as `size:`,
      `comp:` etc.  At this stage we check if the PR is valid and meets certain
      quality requirements. For example, we check if the CLA is signed, PR has
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 06:20:12 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. cmd/admin-router.go

    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/info").HandlerFunc(adminMiddleware(adminAPI.ServerInfoHandler, traceAllFlag, noObjLayerFlag))
    		adminRouter.Methods(http.MethodGet, http.MethodPost).Path(adminVersion + "/inspect-data").HandlerFunc(adminMiddleware(adminAPI.InspectDataHandler, noGZFlag, traceHdrsS3HFlag))
    
    		// StorageInfo operations
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top