developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
22
results
Andrew Fletcher
•
Changes to the Python3 package list post installing packages each of the packages list in the column headers
Initial list
+ openai
+ langchain
+ llama-index
+ gradio
Package Version---------------------------- ---------absl-py 2.0.0astunparse 1.6.3cachetools ...
Andrew Fletcher
•
Python3 error
None of PyTorch, TensorFlow >= 2.0, or Flax have been...
Andrew Fletcher
•
When running python openai command, I was greeted...
Andrew Fletcher
•
Python3
Error
ImportError: cannot import name 'soft_unicode' from 'markupsafe'...
Andrew Fletcher
•
This article works through the steps to update dependencies in package.json...
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working through the output for recently viewed pages... the code structure:
<?php
namespace Drupal\custom\Plugin\GetData\paragraph;
use Drupal\custom\Plugin\GetData\ContentBase;
use Drupal\custom\Plugin\GetData\ParagraphTrait;
use Drupal\node\Entity\Node;
/**
* Provides Recent view pages data.
*
* @GetData(
* id = "recent_view_pages",
* title = @Translation("Recent view pages Data"),
* )
*/
class...
Andrew Fletcher
•
A bug bear that I have had for a while with Drupal content is how come the...