Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for attribute (0.06 sec)

  1. istioctl/pkg/writer/table/writer.go

    type Cell struct {
    	Value      string
    	Attributes []color.Attribute
    }
    
    type Row struct {
    	Cells []Cell
    }
    
    func NewCell(value string, attributes ...color.Attribute) Cell {
    	attrs := append([]color.Attribute{}, attributes...)
    	return Cell{value, attrs}
    }
    
    func (cell Cell) String() string {
    	if len(cell.Attributes) == 0 {
    		return cell.Value
    	}
    	s := color.New(cell.Attributes...)
    	s.EnableColor()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 09:43:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

    private
    val zipEntryBaseTimestamp = LocalDateTime.of(1980, 2, 1, 0, 0, 0)
        .atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()
    
    
    object Attributes {
        val artifactType = Attribute.of("artifactType", String::class.java)
        val minified = Attribute.of("minified", Boolean::class.javaObjectType)
    }
    
    
    class JarAnalyzer(
        private val shadowPackage: String,
        private val keepPackages: Set<String>,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 28 12:55:30 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

            return this.bgBright(Color.RED);
        }
    
        public Ansi bgBrightYellow() {
            return this.bgBright(Color.YELLOW);
        }
    
        public Ansi a(Attribute attribute) {
            attributeOptions.add(attribute.value());
            return this;
        }
    
        /**
         * Moves the cursor to row n, column m. The values are 1-based.
         * Any values less than 1 are mapped to 1.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/resources/poms/inheritance/no-append-urls2-child.xml

      <scm>
        <url>https://domain.org/override</url><!-- check that this won't impact child.site.url.inherit.append.path attribute inheritance -->
      </scm>
      <distributionManagement>
        <site><!-- overriding 1 element will reset all elements, but not child.site.url.inherit.append.path attribute -->
          <name>reset</name>
        </site>
      </distributionManagement>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

     * will be discovered using the JDK service mechanism.
     *
     * The default implementation will look for a {@code .mvn} child directory
     * or a {@code pom.xml} containing the {@code root="true"} attribute.
     *
     * @see DefaultRootLocator
     * @deprecated use {@link org.apache.maven.api.services.model.RootLocator} instead
     */
    @Deprecated(since = "4.0.0")
    public interface RootLocator {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-fields.md

    
    /// warning
    
    Notice that `Field` is imported directly from `pydantic`, not from `fastapi` as are all the rest (`Query`, `Path`, `Body`, etc).
    
    ///
    
    ## Declare model attributes
    
    You can then use `Field` with model attributes:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    `Field` works the same way as `Query`, `Path` and `Body`, it has all the same parameters, etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:01:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

    import java.io.InterruptedIOException;
    import java.nio.file.FileVisitResult;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.nio.file.SimpleFileVisitor;
    import java.nio.file.attribute.BasicFileAttributes;
    import java.util.regex.Pattern;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class ComparableVersionIT {
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/custom-docs-ui-assets.md

    You can reuse FastAPI's internal functions to create the HTML pages for the docs, and pass them the needed arguments:
    
    * `openapi_url`: the URL where the HTML page for the docs can get the OpenAPI schema for your API. You can use here the attribute `app.openapi_url`.
    * `title`: the title of your API.
    * `oauth2_redirect_url`: you can use `app.swagger_ui_oauth2_redirect_url` here to use the default.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:42:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/advanced-dependencies.md

    We could create an instance of this class with:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[18] *}
    
    And that way we are able to "parameterize" our dependency, that now has `"bar"` inside of it, as the attribute `checker.fixed_content`.
    
    ## Use the instance as a dependency
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:10:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/openapi-webhooks.md

    /// info
    
    Webhooks are available in OpenAPI 3.1.0 and above, supported by FastAPI `0.99.0` and above.
    
    ///
    
    ## An app with webhooks
    
    When you create a **FastAPI** application, there is a `webhooks` attribute that you can use to define *webhooks*, the same way you would define *path operations*, for example with `@app.webhooks.post()`.
    
    {* ../../docs_src/openapi_webhooks/tutorial001.py hl[9:13,36:53] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:38:23 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top