Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 654 for compat (0.07 sec)

  1. callbacks/transaction.go

    }
    
    func CommitOrRollbackTransaction(db *gorm.DB) {
    	if !db.Config.SkipDefaultTransaction {
    		if _, ok := db.InstanceGet("gorm:started_transaction"); ok {
    			if db.Error != nil {
    				db.Rollback()
    			} else {
    				db.Commit()
    			}
    
    			db.Statement.ConnPool = db.ConnPool
    		}
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Nov 29 01:33:20 UTC 2021
    - 675 bytes
    - Viewed (0)
  2. docs_src/sql_databases/tutorial001_py39.py

    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/")
    def create_hero(hero: Hero, session: Session = Depends(get_session)) -> Hero:
        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
        session: Session = Depends(get_session),
        offset: int = 0,
        limit: int = Query(default=100, le=100),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. licenses/github.com/hashicorp/go-multierror/LICENSE

         jurisdiction.
    
    4. Inability to Comply Due to Statute or Regulation
    
       If it is impossible for You to comply with any of the terms of this License
       with respect to some or all of the Covered Software due to statute, judicial
       order, or regulation then You must: (a) comply with the terms of this License
       to the maximum extent possible; and (b) describe the limitations and the code
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Oct 26 02:47:39 UTC 2019
    - 15.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/GeneralRange.java

         */
        if (hasLowerBound) {
          int unused =
              comparator.compare(
                  uncheckedCastNullableTToT(lowerEndpoint), uncheckedCastNullableTToT(lowerEndpoint));
        }
        if (hasUpperBound) {
          int unused =
              comparator.compare(
                  uncheckedCastNullableTToT(upperEndpoint), uncheckedCastNullableTToT(upperEndpoint));
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

            users indicates that they really appreciate Guava's high power-to-weight ratio. It's
            important to us to keep Guava as easy to use and understand as we can. That means boiling
            features down to compact but powerful abstractions, and controlling feature bloat carefully.
    
      - type: textarea
        attributes:
          label: API(s)
          description: Which existing classes or methods do you want to improve?
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testExplicit_two() {
        Comparator<Integer> c = Ordering.explicit(42, 5);
        assertEquals(0, c.compare(5, 5));
        assertTrue(c.compare(5, 42) > 0);
        assertTrue(c.compare(42, 5) < 0);
        IncomparableValueException expected =
            assertThrows(IncomparableValueException.class, () -> c.compare(5, 666));
        assertEquals(666, expected.value);
        new EqualsTester()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testExplicit_two() {
        Comparator<Integer> c = Ordering.explicit(42, 5);
        assertEquals(0, c.compare(5, 5));
        assertTrue(c.compare(5, 42) > 0);
        assertTrue(c.compare(42, 5) < 0);
        IncomparableValueException expected =
            assertThrows(IncomparableValueException.class, () -> c.compare(5, 666));
        assertEquals(666, expected.value);
        new EqualsTester()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. .github/workflows/create_issue.js

     */
    
    /** Extracts PR from commit message and creates a GitHub Issue on Rollback of PR
      Created issue is assigned to original PR owner and reviewer.
    
      @param {!object}
        github enables querying for PR and also create issue using rest endpoint
        context has the commit message details in the payload
      @return {string} Returns the issue number and title
    */
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 18 23:04:59 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ComparatorOrdering.java

      final Comparator<T> comparator;
    
      ComparatorOrdering(Comparator<T> comparator) {
        this.comparator = checkNotNull(comparator);
      }
    
      @Override
      public int compare(@ParametricNullness T a, @ParametricNullness T b) {
        return comparator.compare(a, b);
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  10. .github/labeler.yml

            - '!fastapi/**'
            - '!pyproject.toml'
    
    internal:
      - all:
        - changed-files:
          - any-glob-to-any-file:
            - .github/**
            - scripts/**
            - .gitignore
            - .pre-commit-config.yaml
            - pdm_build.py
            - requirements*.txt
            - docs/en/data/sponsors.yml
            - docs/en/overrides/main.html
          - all-globs-to-all-files:
            - '!docs/*/docs/**'
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 31 10:18:37 UTC 2024
    - 892 bytes
    - Viewed (0)
Back to top