Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 82 for Red (0.17 sec)

  1. docs_src/extra_models/tutorial004.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str
    
    
    items = [
        {"name": "Foo", "description": "There comes my hero"},
        {"name": "Red", "description": "It's my aeroplane"},
    ]
    
    
    @app.get("/items/", response_model=List[Item])
    async def read_items():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 381 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_additional_status_codes/test_tutorial001_an.py

        assert response.status_code == 200, response.text
        assert response.json() == {"name": "Wrestlers", "size": None}
    
    
    def test_create():
        response = client.put("/items/red", json={"name": "Chillies"})
        assert response.status_code == 201, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 549 bytes
    - Viewed (0)
  3. manifests/addons/dashboards/istio-workload-dashboard.json

                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "ops"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 4,
            "w": 8,
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 102.7K bytes
    - Viewed (0)
  4. logger/logger.go

    	"log"
    	"os"
    	"time"
    
    	"gorm.io/gorm/utils"
    )
    
    // ErrRecordNotFound record not found error
    var ErrRecordNotFound = errors.New("record not found")
    
    // Colors
    const (
    	Reset       = "\033[0m"
    	Red         = "\033[31m"
    	Green       = "\033[32m"
    	Yellow      = "\033[33m"
    	Blue        = "\033[34m"
    	Magenta     = "\033[35m"
    	Cyan        = "\033[36m"
    	White       = "\033[37m"
    	BlueBold    = "\033[34;1m"
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Nov 07 02:19:41 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  5. src/main/webapp/css/admin/adminlte.min.css.map

    #dee2e6;\n}\n\n.card-red.card-outline-tabs > .card-header a.active {\n  border-top: 3px solid #dc3545;\n}\n\n.bg-red .btn-tool,\n.bg-gradient-red .btn-tool,\n.card-red:not(.card-outline) .btn-tool {\n  color: rgba(255, 255, 255, 0.8);\n}\n\n.bg-red .btn-tool:hover,\n.bg-gradient-red .btn-tool:hover,\n.card-red:not(.card-outline) .btn-tool:hover {\n  color: #ffffff;\n}\n\n.card.bg-red .bootstrap-datetimepicker-widget .table td,\n.card.bg-red .bootstrap-datetimepicker-widget .table th,\n.card.bg-gradient-red...
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 2M bytes
    - Viewed (0)
  6. internal/color/color.go

    		return fmt.Sprint
    	}()
    
    	RedBoldf = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.FgRed, color.Bold).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	Red = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.FgRed).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	Blue = func() func(format string, a ...interface{}) string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_extra_models/test_tutorial004_py39.py

        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.json() == [
            {"name": "Foo", "description": "There comes my hero"},
            {"name": "Red", "description": "It's my aeroplane"},
        ]
    
    
    @needs_py39
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  8. istioctl/pkg/util/formatting/formatter.go

    // Formatting options for Message
    var (
    	colorPrefixes = map[diag.Level]string{
    		diag.Info:    "",           // no special color for info messages
    		diag.Warning: "\033[33m",   // yellow
    		diag.Error:   "\033[1;31m", // bold red
    	}
    )
    
    // render turns a Message instance into a string with an option of colored bash output
    func render(m diag.Message, colorize bool) string {
    	return fmt.Sprintf("%s%v%s [%v]%s %s",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  9. internal/config/errors-utils.go

    		return uiErr.msg
    	}
    	// Pretty print error message
    	introMsg += ": "
    	if uiErr.msg != "" {
    		introMsg += color.Bold(uiErr.msg)
    	} else {
    		introMsg += color.Bold(err.Error())
    	}
    	renderedTxt += color.Red(introMsg) + "\n"
    	// Add action message
    	if uiErr.action != "" {
    		renderedTxt += "> " + color.BgYellow(color.Black(uiErr.action)) + "\n"
    	}
    	// Add hint
    	if uiErr.hint != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * <pre>{@code
       * Color red = new Color("red", 255, 0, 0);
       * ...
       * FluentIterable<Color> allColors = FluentIterable.from(ImmutableSet.of(red, green, blue));
       *
       * Map<String, Color> colorForName = allColors.uniqueIndex(toStringFunction());
       * assertThat(colorForName).containsEntry("red", red);
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
Back to top