Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewTee (0.08 sec)

  1. pkg/log/uds.go

    		buffers: make([]*buffer.Buffer, 0),
    	}
    	for l := zapcore.DebugLevel; l <= zapcore.FatalLevel; l++ {
    		if baseCore.Enabled(l) {
    			uc.minimumLevel = l
    			break
    		}
    	}
    	return zapcore.NewTee(baseCore, uc)
    }
    
    // Enabled implements zapcore.Core.
    func (u *udsCore) Enabled(l zapcore.Level) bool {
    	return l >= u.minimumLevel
    }
    
    // With implements zapcore.Core.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 16 00:20:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/sql-databases-peewee.md

        Peewee is not recommended with FastAPI as it doesn't play well with anything async Python. There are several better alternatives.
    
    !!! info
        These docs assume Pydantic v1.
    
        Because Pewee doesn't play well with anything async and there are better alternatives, I won't update these docs for Pydantic v2, they are kept for now only for historical purposes.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 16 13:23:25 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top