Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for add_pass (0.15 sec)

  1. docs/fr/docs/tutorial/background-tasks.md

    ## Ajouter une tâche d'arrière-plan
    
    Dans votre *fonction de chemin*, passez votre fonction de tâche à l'objet de type `BackgroundTasks` (`background_tasks` ici) grâce à la méthode `.add_task()` :
    
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[14] *}
    
    `.add_task()` reçoit comme arguments :
    
    * Une fonction de tâche à exécuter en arrière-plan (`write_notification`).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:29:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/main/webapp/js/login.js

          return false;
        }
      });
    
      $(".table tr[data-href]").each(function() {
        $(this)
          .css("cursor", "pointer")
          .hover(
            function() {
              $(this).addClass("active");
            },
            function() {
              $(this).removeClass("active");
            }
          )
          .click(function() {
            document.location = $(this).attr("data-href");
          });
      });
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Sep 12 06:47:49 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  3. src/main/webapp/js/admin/admin.js

          return false;
        }
      });
    
      $(".table tr[data-href]").each(function() {
        $(this)
          .css("cursor", "pointer")
          .hover(
            function() {
              $(this).addClass("active");
            },
            function() {
              $(this).removeClass("active");
            }
          )
          .click(function() {
            document.location = $(this).attr("data-href");
          });
      });
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Aug 06 20:44:47 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/background-tasks.md

    ```Python hl_lines="6-9"
    {!../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    ## 添加后台任务
    
    在你的 *路径操作函数* 里,用 `.add_task()` 方法将任务函数传到 *后台任务* 对象中:
    
    ```Python hl_lines="14"
    {!../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` 接收以下参数:
    
    * 在后台运行的任务函数(`write_notification`)。
    * 应按顺序传递给任务函数的任意参数序列(`email`)。
    * 应传递给任务函数的任意关键字参数(`message="some notification"`)。
    
    ## 依赖注入
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/background-tasks.md

    ```Python hl_lines="6-9"
    {!../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    ## 백그라운드 작업 추가
    
    _경로 작동 함수_ 내에서 작업 함수를 `.add_task()` 함수 통해 _백그라운드 작업_ 개체에 전달합니다.
    
    ```Python hl_lines="14"
    {!../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` 함수는 다음과 같은 인자를 받습니다 :
    
    - 백그라운드에서 실행되는 작업 함수 (`write_notification`).
    - 작업 함수에 순서대로 전달되어야 하는 일련의 인자 (`email`).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/bootstrap.min.js.map

    direction: eventDirectionName,\n      from: activeElementIndex,\n      to: nextElementIndex\n    })\n\n    if ($(this._element).hasClass(CLASS_NAME_SLIDE)) {\n      $(nextElement).addClass(orderClassName)\n\n      Util.reflow(nextElement)\n\n      $(activeElement).addClass(directionalClassName)\n      $(nextElement).addClass(directionalClassName)\n\n      const transitionDuration = Util.getTransitionDurationFromElement(activeElement)\n\n      $(activeElement)\n        .one(Util.TRANSITION_END, () =>...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 180.9K bytes
    - Viewed (0)
  7. tests/test_dependency_contextmanager.py

    async def get_context_b_bg(tasks: BackgroundTasks, state: dict = Depends(context_b)):
        async def bg(state: dict):
            state["bg"] = f"bg set - b: {state['context_b']} - a: {state['context_a']}"
    
        tasks.add_task(bg, state)
        return state
    
    
    # Sync versions
    
    
    @app.get("/sync_async")
    def get_sync_async(state: str = Depends(asyncgen_state)):
        return state
    
    
    @app.get("/sync_sync")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/plugins/form-validator/security.js

    tion failed with status: "+a.statusText},f),!1},success:function(a){i(a,f)}})};a.formUtils.addAsyncValidator({name:"server",validatorFunction:function(a,b,c,d,e,g){var h=c.valAttr("url")||d.backendUrl||document.location.href;g.addClass("validating-server-side"),c.addClass("validating-server-side"),f(h,c,b,d,function(b){g.removeClass("validating-server-side"),c.removeClass("validating-server-side"),b.message&&c.attr(d.validationErrorMsgAttribute,b.message),a(b.valid)})},errorMessage:"",errorMessa...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 10.5K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/form-validator/html5.js

    is.getAttribute("placeholder"),a(this).bind("focus",function(){this.value===this.__defaultValue&&(this.value="",a(this).removeClass("showing-placeholder"))}).bind("blur",function(){""===a.trim(this.value)&&(this.value=this.__defaultValue,a(this).addClass("showing-placeholder"))})})})};a.formUtils.$win.bind("validatorsLoaded formValidationSetup",function(b,c){c||(c=a("form")),e(c)}),a.formUtils.setupValidationUsingHTML5Attr=e}(a,window)});...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  10. src/main/webapp/js/bootstrap.min.js.map

    direction: eventDirectionName,\n      from: activeElementIndex,\n      to: nextElementIndex\n    })\n\n    if ($(this._element).hasClass(ClassName.SLIDE)) {\n      $(nextElement).addClass(orderClassName)\n\n      Util.reflow(nextElement)\n\n      $(activeElement).addClass(directionalClassName)\n      $(nextElement).addClass(directionalClassName)\n\n      const nextElementInterval = parseInt(nextElement.getAttribute('data-interval'), 10)\n      if (nextElementInterval) {\n        this._config.defaultInterval...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jan 11 06:54:28 UTC 2020
    - 189.9K bytes
    - Viewed (0)
Back to top