Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2571 - 2580 of 4,618 for alse (0.03 sec)

  1. internal/event/target/mqtt.go

    func (target *MQTTTarget) IsActive() (bool, error) {
    	if err := target.init(); err != nil {
    		return false, err
    	}
    	return target.isActive()
    }
    
    func (target *MQTTTarget) isActive() (bool, error) {
    	if !target.client.IsConnectionOpen() {
    		return false, store.ErrNotConnected
    	}
    	return true, nil
    }
    
    // send - sends an event to the mqtt.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. docs_src/response_model/tutorial003_04_py310.py

    from fastapi import FastAPI, Response
    from fastapi.responses import RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/portal")
    async def get_portal(teleport: bool = False) -> Response | dict:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 10 16:22:47 UTC 2023
    - 352 bytes
    - Viewed (0)
  3. cni/pkg/install/testdata/bridge.conf.golden

          "ipam": {
            "gateway": "10.1.0.1",
            "subnet": "10.1.0.0/16",
            "type": "host-local"
          },
          "name": "dbnet",
          "type": "bridge"
        },
        {
          "ambient_enabled": false,
          "cni_agent_run_dir": "/path/to/kubeconfig",
          "dns": {},
          "exclude_namespaces": [
            ""
          ],
          "ipam": {},
          "name": "istio-cni",
          "plugin_log_level": "debug",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 625 bytes
    - Viewed (0)
  4. .golangci.yml

        - gomodguard
        - govet
        - ineffassign
        - misspell
        - revive
        - staticcheck
        - tenv
        - typecheck
        - unconvert
        - unused
    
    issues:
      exclude-use-default: false
      exclude:
        - "empty-block:"
        - "unused-parameter:"
        - "dot-imports:"
        - should have a package comment
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Dec 07 02:17:03 UTC 2023
    - 689 bytes
    - Viewed (0)
  5. docs_src/additional_status_codes/tutorial001_py310.py

        size: int | None = Body(default=None),
    ):
        if item_id in items:
            item = items[item_id]
            item["name"] = name
            item["size"] = size
            return item
        else:
            item = {"name": name, "size": size}
            items[item_id] = item
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 646 bytes
    - Viewed (0)
  6. callbacks/row.go

    			db.Statement.Settings.Delete("rows")
    			db.Statement.Dest, db.Error = db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    		} else {
    			db.Statement.Dest = db.Statement.ConnPool.QueryRowContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    		}
    
    		db.RowsAffected = -1
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 08 05:40:41 UTC 2023
    - 581 bytes
    - Viewed (0)
  7. manifests/addons/dashboards/jsonnetfile.lock.json

              "subdir": ""
            }
          },
          "version": "63d430b69a95741061c2f7fc9d84b1a778511d9c",
          "sum": "qiZi3axUSXCVzKUF83zSAxklwrnitMmrDK4XAfjPMdE="
        }
      ],
      "legacyImports": false
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. docs_src/header_params/tutorial002_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        strange_header: Annotated[
            Union[str, None], Header(convert_underscores=False)
        ] = None,
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 288 bytes
    - Viewed (0)
  9. docs_src/response_model/tutorial003_02.py

    from fastapi import FastAPI, Response
    from fastapi.responses import JSONResponse, RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/portal")
    async def get_portal(teleport: bool = False) -> Response:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 10 16:22:47 UTC 2023
    - 381 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToUpdateCrudTable(GLOBAL, buildThrowableMessage(e)));
            }
            return asJson(new ApiResult.ApiUpdateResponse().id(entity.getId()).created(false).status(ApiResult.Status.OK).result());
        }
    
        // DELETE /api/admin/user/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top