Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 57 for Aliases (0.05 seconds)

  1. fastapi/param_functions.py

                allowed by the alias or set of aliases defined.
                """
            ),
        ] = None,
        serialization_alias: Annotated[
            Union[str, None],
            Doc(
                """
                'Blacklist' validation step. The vanilla parameter field will be the
                single one of the alias' or set of aliases' fields and all the other
                fields will be ignored at serialization time.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 63K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                                }
                            });
                        }
                        return phases;
                    }
    
                    @Override
                    public Collection<Alias> aliases() {
                        return Collections.emptyList();
                    }
                };
            }
        }
    
        static class WrappedLifecycle extends org.apache.maven.lifecycle.Lifecycle {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/arch/arch.go

    	for i, s := range obj.Anames {
    		instructions[s] = obj.As(i)
    	}
    	for i, s := range x86.Anames {
    		if obj.As(i) >= obj.A_ARCHSPECIFIC {
    			instructions[s] = obj.As(i) + obj.ABaseAMD64
    		}
    	}
    	// Annoying aliases.
    	instructions["JA"] = x86.AJHI   /* alternate */
    	instructions["JAE"] = x86.AJCC  /* alternate */
    	instructions["JB"] = x86.AJCS   /* alternate */
    	instructions["JBE"] = x86.AJLS  /* alternate */
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 13 12:17:37 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

            Map<String, String> phaseUpgrades = new HashMap<>();
    
            // Clean lifecycle aliases
            phaseUpgrades.put("pre-clean", Lifecycle.BEFORE + Lifecycle.Phase.CLEAN);
            phaseUpgrades.put("post-clean", Lifecycle.AFTER + Lifecycle.Phase.CLEAN);
    
            // Default lifecycle aliases
            phaseUpgrades.put("pre-integration-test", Lifecycle.BEFORE + Lifecycle.Phase.INTEGRATION_TEST);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                }));
    
                // Eagerly resolve all plugins in parallel
                toResolve.parallelStream().forEach(Runnable::run);
    
                // Keep track of phase aliases
                lifecycle.aliases().forEach(alias -> plan.aliases().put(alias.v3Phase(), alias.v4Phase()));
    
                return plan;
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  6. migrator/migrator.go

    		isSameType  = fullDataType == realDataType
    	)
    
    	if !field.PrimaryKey {
    		// check type
    		if !strings.HasPrefix(fullDataType, realDataType) {
    			// check type aliases
    			aliases := m.DB.Migrator().GetTypeAliases(realDataType)
    			for _, alias := range aliases {
    				if strings.HasPrefix(fullDataType, alias) {
    					isSameType = true
    					break
    				}
    			}
    
    			if !isSameType {
    				alterColumn = true
    			}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Oct 26 12:31:09 GMT 2025
    - 29.7K bytes
    - Click Count (0)
  7. tests/test_request_params/test_form/test_optional_list.py

    from pydantic import BaseModel, Field
    
    from .utils import get_body_model_name
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.post("/optional-list-str", operation_id="optional_list_str")
    async def read_optional_list_str(
        p: Annotated[Optional[list[str]], Form()] = None,
    ):
        return {"p": p}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. ci/official/utilities/setup_macos.sh

    # with the GNU style, we need to set GNU utilities to be default on Mac.
    if [[ -n "$(which grealpath)" ]] &&  [[ -n "$(which gstat)" ]]; then
      alias realpath=grealpath
      alias stat=gstat
      # By default, aliases are only expanded in interactive shells, which means
      # that they are not substituted for their corresponding commands in shell
      # scripts. By setting "expand_aliases", we enable alias expansion in
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Oct 06 22:42:26 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  9. tests/test_request_params/test_file/test_optional.py

    from fastapi.testclient import TestClient
    
    from .utils import get_body_model_name
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.post("/optional-bytes", operation_id="optional_bytes")
    async def read_optional_bytes(p: Annotated[Optional[bytes], File()] = None):
        return {"file_size": len(p) if p else None}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  10. tests/test_request_params/test_form/test_optional_str.py

    from pydantic import BaseModel, Field
    
    from .utils import get_body_model_name
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.post("/optional-str", operation_id="optional_str")
    async def read_optional_str(p: Annotated[Optional[str], Form()] = None):
        return {"p": p}
    
    
    class FormModelOptionalStr(BaseModel):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top