Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 855 for SELF (0.05 sec)

  1. manifests/addons/dashboards/lib/variables.libsonnet

      namespace:
        var.query.new('namespace')
        + var.query.withDatasourceFromVariable(self.datasource)
        + var.query.queryTypes.withLabelValues(
          'namespace',
          'process_cpu_seconds_total{cluster=~"$%s"}' % self.cluster.name,
        )
        + var.query.withRefresh('time'),
    
      job:
        var.query.new('job')
        + var.query.withDatasourceFromVariable(self.datasource)
        + var.query.queryTypes.withLabelValues(
          'job',
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. docs_src/sql_databases_peewee/sql_app/database.py

    
    class PeeweeConnectionState(peewee._ConnectionState):
        def __init__(self, **kwargs):
            super().__setattr__("_state", db_state)
            super().__init__(**kwargs)
    
        def __setattr__(self, name, value):
            self._state.get()[name] = value
    
        def __getattr__(self, name):
            return self._state.get()[name]
    
    
    db = peewee.SqliteDatabase(DATABASE_NAME, check_same_thread=False)
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 662 bytes
    - Viewed (0)
  3. docs_src/dependencies/tutorial011.py

    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    class FixedContentQueryChecker:
        def __init__(self, fixed_content: str):
            self.fixed_content = fixed_content
    
        def __call__(self, q: str = ""):
            if q:
                return self.fixed_content in q
            return False
    
    
    checker = FixedContentQueryChecker("bar")
    
    
    @app.get("/query-checker/")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 504 bytes
    - Viewed (0)
  4. fastapi/security/http.py

                    """
                ),
            ] = True,
        ):
            self.model = HTTPBaseModel(scheme="basic", description=description)
            self.scheme_name = scheme_name or self.__class__.__name__
            self.realm = realm
            self.auto_error = auto_error
    
        async def __call__(  # type: ignore
            self, request: Request
        ) -> Optional[HTTPBasicCredentials]:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Apr 19 15:29:38 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/KotlinStdlibFileInterceptors.java

        public static byte[] intercept_readBytes(
            File self,
            @CallerClassName String consumer
        ) {
            Instrumented.fileOpened(self, consumer);
            return FilesKt.readBytes(self);
        }
    
        @InterceptCalls
        @StaticMethod(ofClass = FilesKt.class)
        public static void intercept_forEachBlock(
            File self,
            Function2<?, ?, ?> action,
            @CallerClassName String consumer
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 12:34:20 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_retract_versions.txt

    go list -m -e -f $FMT example.com/retract/self/pseudo
    stdout '^example.com/retract/self/pseudo: "module example.com/retract/self/pseudo: not a known dependency" ""$'
    
    go list -m -e -f $FMT example.com/retract/self/pseudo@latest
    stdout '^example.com/retract/self/pseudo: "module example.com/retract/self/pseudo: no matching versions for query \\"latest\\"" "latest"$'
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 05 16:02:44 UTC 2021
    - 981 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/basic.py

    # CHECK-SAME: tf.versions
    # CHECK-SAME: bad_consumers
    # CHECK-SAME: min_consumer
    # CHECK-SAME: producer
    
    
    class TestModule(tf.Module):
    
      def __init__(self):
        super(TestModule, self).__init__()
        self.v42 = tf.Variable(42.0)
        self.c43 = tf.constant(43.0)
    
      # During serialization, the constants are given internal (non-user-accessible, non-semantically-load-bearing) exported names.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. docs_src/dependencies/tutorial002_an_py310.py

    app = FastAPI()
    
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    class CommonQueryParams:
        def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]):
        response = {}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 664 bytes
    - Viewed (0)
  9. docs_src/dependencies/tutorial002_an.py

    app = FastAPI()
    
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    class CommonQueryParams:
        def __init__(self, q: Union[str, None] = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]):
        response = {}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 706 bytes
    - Viewed (0)
  10. samples/bookinfo/src/productpage/tests/unit/test_productpage.py

    import unittest
    
    import requests_mock
    
    import productpage
    
    
    class ApplianceTest(unittest.TestCase):
    
        def setUp(self):
            self.app = productpage.app.test_client()
    
        @requests_mock.Mocker()
        def test_header_propagation_reviews(self, m):
            """ Check that tracing headers are forwarded correctly """
            product_id = 0
            # Register expected headers with the mock. If the headers
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 23:56:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top