Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for new_context (1.62 sec)

  1. scripts/contributors.py

    
    def update_content(*, content_path: Path, new_content: Any) -> bool:
        old_content = content_path.read_text(encoding="utf-8")
    
        new_content = yaml.dump(new_content, sort_keys=False, width=200, allow_unicode=True)
        if old_content == new_content:
            logging.info(f"The content hasn't changed for {content_path}")
            return False
        content_path.write_text(new_content, encoding="utf-8")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. scripts/people.py

    
    def update_content(*, content_path: Path, new_content: Any) -> bool:
        old_content = content_path.read_text(encoding="utf-8")
    
        new_content = yaml.dump(new_content, sort_keys=False, width=200, allow_unicode=True)
        if old_content == new_content:
            logging.info(f"The content hasn't changed for {content_path}")
            return False
        content_path.write_text(new_content, encoding="utf-8")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. scripts/sponsors.py

    
    def update_content(*, content_path: Path, new_content: Any) -> bool:
        old_content = content_path.read_text(encoding="utf-8")
    
        new_content = yaml.dump(new_content, sort_keys=False, width=200, allow_unicode=True)
        if old_content == new_content:
            logging.info(f"The content hasn't changed for {content_path}")
            return False
        content_path.write_text(new_content, encoding="utf-8")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. scripts/docs.py

        post_content = content[post_start:]
        new_content = pre_content + message + post_content
        # Remove content between <!-- only-mkdocs --> and <!-- /only-mkdocs -->
        new_content = re.sub(
            r"<!-- only-mkdocs -->.*?<!-- /only-mkdocs -->",
            "",
            new_content,
            flags=re.DOTALL,
        )
        return new_content
    
    
    @app.command()
    def generate_readme() -> None:
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java

            String content = "This is extracted content";
            data.setContent(content);
            assertEquals(content, data.getContent());
    
            String newContent = "New content";
            data.setContent(newContent);
            assertEquals(newContent, data.getContent());
    
            data.setContent(null);
            assertNull(data.getContent());
        }
    
        public void test_putValue() {
            // Test putValue method
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CrawlingParameterUtil.java

     * CrawlingParameterUtil.setUrlQueue(newUrlQueue);
     *
     * CrawlerContext context = CrawlingParameterUtil.getCrawlerContext();
     * CrawlingParameterUtil.setCrawlerContext(newContext);
     *
     * UrlQueueService<UrlQueue<?>> urlQueueService = CrawlingParameterUtil.getUrlQueueService();
     * CrawlingParameterUtil.setUrlQueueService(newUrlQueueService);
     *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                doc.put(HL_CACHE, StringUtil.EMPTY);
            }
    
            try {
                final Template template = handlebars.compile(cacheTemplateName);
                final Context hbsContext = Context.newContext(doc);
                return template.apply(hbsContext);
            } catch (final Exception e) {
                logger.warn("Failed to create a cache response.", e);
            }
    
            return null;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
Back to top