Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 1,230 for Updater (0.09 sec)

  1. docs_src/security/tutorial004_an.py

        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py39.py

                                        }
                                    }
                                },
                            },
                        },
                        "summary": "Update Item",
                        "operationId": "update_item_items__item_id__put",
                        "parameters": [
                            {
                                "required": True,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/simple-oauth2.md

    It's almost the only thing that you have to remember to do correctly yourself, to be compliant with the specifications.
    
    For the rest, **FastAPI** handles it for you.
    
    ///
    
    ## Update the dependencies
    
    Now we are going to update our dependencies.
    
    We want to get the `current_user` *only* if this user is active.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

            }
          }
        }
        return mutex;
      }
    
      RateLimiter(SleepingStopwatch stopwatch) {
        this.stopwatch = checkNotNull(stopwatch);
      }
    
      /**
       * Updates the stable rate of this {@code RateLimiter}, that is, the {@code permitsPerSecond}
       * argument provided in the factory method that constructed the {@code RateLimiter}. Currently
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. cmd/site-replication-utils.go

    						}()
    					}
    				}
    				wg.Wait()
    				sm.Unlock()
    			}
    			sTimer.Reset(siteResyncSaveInterval)
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    // update overall site resync state
    func (sm *siteResyncMetrics) updateState(s SiteResyncStatus) error {
    	if !globalSiteReplicationSys.isEnabled() {
    		return nil
    	}
    	sm.Lock()
    	defer sm.Unlock()
    	switch s.Status {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. ci/official/utilities/extract_resultstore_links.py

        if command_type:
          command_type = command_type.title()
          case_name = f'{command_type} invocation {invocation_id}'
        else:
          case_name = f' Invocation {invocation_id}'
        case_attrib.update({'name': case_name,
                            'status': 'run', 'result': 'completed'})
    
        testcase = ElemTree.SubElement(testsuite, 'testcase', attrib=case_attrib)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. cmd/metacache-set.go

    		o.debugln(color.Green("saveMetaCacheStream:")+"err:", err)
    		if err != nil && !errors.Is(err, io.EOF) {
    			go mc.setErr(err.Error())
    			cancel()
    		}
    	}()
    
    	defer cancel()
    	// Save continuous updates
    	go func() {
    		var err error
    		ticker := time.NewTicker(10 * time.Second)
    		defer ticker.Stop()
    		var exit bool
    		for !exit {
    			select {
    			case <-ticker.C:
    			case <-ctx.Done():
    				exit = true
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/PathMappingService.java

                cb.paging(pathMappingPager.getPageSize(), pathMappingPager.getCurrentPageNumber());
                setupListCondition(cb, pathMappingPager);
            });
    
            // update pager
            BeanUtil.copyBeanToBean(pathMappingList, pathMappingPager, option -> option.include(Constants.PAGER_CONVERSION_RULE));
            pathMappingPager.setPageNumberList(pathMappingList.pageRange(op -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

                boolean sourceDominant,
                Map<?, ?> hints) {
            Objects.requireNonNull(target, "target cannot be null");
            if (source == null) {
                return;
            }
            target.update(merge(target.getDelegate(), source.getDelegate(), sourceDominant, hints));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultPluginConfigurationExpander.java

                        XmlNode executionConfiguration = execution.getDelegate().getConfiguration();
                        executionConfiguration = XmlNode.merge(executionConfiguration, pluginConfiguration);
                        execution.update(execution.getDelegate().withConfiguration(executionConfiguration));
                    }
                }
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top